summaryrefslogtreecommitdiffstats
path: root/konsolekalendar
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /konsolekalendar
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsolekalendar')
-rw-r--r--konsolekalendar/COPYING4
-rw-r--r--konsolekalendar/ROADMAP2
-rw-r--r--konsolekalendar/konsolekalendar.cpp18
-rw-r--r--konsolekalendar/konsolekalendar.h4
-rw-r--r--konsolekalendar/konsolekalendaradd.cpp8
-rw-r--r--konsolekalendar/konsolekalendaradd.h4
-rw-r--r--konsolekalendar/konsolekalendarchange.cpp12
-rw-r--r--konsolekalendar/konsolekalendarchange.h4
-rw-r--r--konsolekalendar/konsolekalendardelete.cpp8
-rw-r--r--konsolekalendar/konsolekalendardelete.h4
-rw-r--r--konsolekalendar/konsolekalendarepoch.cpp44
-rw-r--r--konsolekalendar/konsolekalendarepoch.h6
-rw-r--r--konsolekalendar/konsolekalendarexports.cpp4
-rw-r--r--konsolekalendar/konsolekalendarexports.h4
-rw-r--r--konsolekalendar/konsolekalendarvariables.cpp4
-rw-r--r--konsolekalendar/konsolekalendarvariables.h4
-rw-r--r--konsolekalendar/main.cpp16
17 files changed, 75 insertions, 75 deletions
diff --git a/konsolekalendar/COPYING b/konsolekalendar/COPYING
index 54754ab4b..b55fa1466 100644
--- a/konsolekalendar/COPYING
+++ b/konsolekalendar/COPYING
@@ -59,7 +59,7 @@ modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- 0. This License applies to any program or other work which contains
+ 0. This License applies to any program or other work which tqcontains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
@@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following:
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
+code means all the source code for all modules it tqcontains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
diff --git a/konsolekalendar/ROADMAP b/konsolekalendar/ROADMAP
index 333366ec7..6d8a4a27f 100644
--- a/konsolekalendar/ROADMAP
+++ b/konsolekalendar/ROADMAP
@@ -8,7 +8,7 @@ Inner Version| | From KDE version
1.3.4 | New remote calendar support | cvs
1.3.5 | Remove old input system.. | cvs
1.3.6 | Test..test..test it baby | cvs
-1.4 | Start creating outputs try to find |
+1.4 | Start creating outputs try to tqfind |
| People who need these.. | cvs
1.5 | Implement possibility to execute app | cvs
1.5.1 | Do something;)
diff --git a/konsolekalendar/konsolekalendar.cpp b/konsolekalendar/konsolekalendar.cpp
index 564adf530..f8c5fa998 100644
--- a/konsolekalendar/konsolekalendar.cpp
+++ b/konsolekalendar/konsolekalendar.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
@@ -271,20 +271,20 @@ bool KonsoleKalendar::showInstance()
} else {
if ( firstdate == lastdate ) {
title = i18n( "Events: %1" )
- .arg( firstdate.toString( Qt::TextDate ) );
+ .arg( firstdate.toString( TQt::TextDate ) );
} else {
title = i18n( "Events: %1 - %2" )
- .arg( firstdate.toString( Qt::TextDate ) )
- .arg( lastdate.toString( Qt::TextDate ) );
+ .arg( firstdate.toString( TQt::TextDate ) )
+ .arg( lastdate.toString( TQt::TextDate ) );
}
htmlSettings.setEventView( true );
}
htmlSettings.setEventTitle( title );
htmlSettings.setEventAttendees( true );
// Not supporting Todos yet
-// title = "To-Do List for " + firstdate.toString(Qt::TextDate);
+// title = "To-Do List for " + firstdate.toString(TQt::TextDate);
// if ( firstdate != lastdate ) {
-// title += " - " + lastdate.toString(Qt::TextDate);
+// title += " - " + lastdate.toString(TQt::TextDate);
// }
htmlSettings.setTodoListTitle( title );
htmlSettings.setTodoView( false );
@@ -438,11 +438,11 @@ void KonsoleKalendar::printSpecs()
<< endl;
cout << i18n( " Begin: %1" ).
- arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit()
+ arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " End: %1" ).
- arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit()
+ arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit()
<< endl;
if ( m_variables->getFloating() == true ) {
diff --git a/konsolekalendar/konsolekalendar.h b/konsolekalendar/konsolekalendar.h
index 71ded4f61..df09b69f0 100644
--- a/konsolekalendar/konsolekalendar.h
+++ b/konsolekalendar/konsolekalendar.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
diff --git a/konsolekalendar/konsolekalendaradd.cpp b/konsolekalendar/konsolekalendaradd.cpp
index e1c80498f..bd1980733 100644
--- a/konsolekalendar/konsolekalendaradd.cpp
+++ b/konsolekalendar/konsolekalendaradd.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
@@ -146,11 +146,11 @@ void KonsoleKalendarAdd::printSpecs()
<< endl;
cout << i18n( " Begin: %1" ).
- arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit()
+ arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " End: %1" ).
- arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit()
+ arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit()
<< endl;
if ( m_variables->getFloating() == true ) {
diff --git a/konsolekalendar/konsolekalendaradd.h b/konsolekalendar/konsolekalendaradd.h
index d1c9a2960..688cc9a95 100644
--- a/konsolekalendar/konsolekalendaradd.h
+++ b/konsolekalendar/konsolekalendaradd.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
diff --git a/konsolekalendar/konsolekalendarchange.cpp b/konsolekalendar/konsolekalendarchange.cpp
index fffd38cc9..067c05e21 100644
--- a/konsolekalendar/konsolekalendarchange.cpp
+++ b/konsolekalendar/konsolekalendarchange.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
@@ -136,11 +136,11 @@ void KonsoleKalendarChange::printSpecs( Event *event )
<< endl;
cout << i18n( " Begin: %1" ).
- arg( event->dtStart().toString( Qt::TextDate ) ).local8Bit()
+ arg( event->dtStart().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " End: %1" ).
- arg( event->dtEnd().toString( Qt::TextDate ) ).local8Bit()
+ arg( event->dtEnd().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " Desc: %1" ).
@@ -163,11 +163,11 @@ void KonsoleKalendarChange::printSpecs()
<< endl;
cout << i18n( " Begin: %1" ).
- arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit()
+ arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " End: %1" ).
- arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit()
+ arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " Desc: %1" ).
diff --git a/konsolekalendar/konsolekalendarchange.h b/konsolekalendar/konsolekalendarchange.h
index 80e8f8c2e..9430394f2 100644
--- a/konsolekalendar/konsolekalendarchange.h
+++ b/konsolekalendar/konsolekalendarchange.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
diff --git a/konsolekalendar/konsolekalendardelete.cpp b/konsolekalendar/konsolekalendardelete.cpp
index 02d676272..b3f27650e 100644
--- a/konsolekalendar/konsolekalendardelete.cpp
+++ b/konsolekalendar/konsolekalendardelete.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
@@ -101,11 +101,11 @@ void KonsoleKalendarDelete::printSpecs( Event *event )
<< endl;
cout << i18n( " Begin: %1" ).
- arg( event->dtStart().toString( Qt::TextDate ) ).local8Bit()
+ arg( event->dtStart().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " End: %1" ).
- arg( event->dtEnd().toString( Qt::TextDate ) ).local8Bit()
+ arg( event->dtEnd().toString( TQt::TextDate ) ).local8Bit()
<< endl;
cout << i18n( " Desc: %1" ).
diff --git a/konsolekalendar/konsolekalendardelete.h b/konsolekalendar/konsolekalendardelete.h
index 2a01990f0..cf843e678 100644
--- a/konsolekalendar/konsolekalendardelete.h
+++ b/konsolekalendar/konsolekalendardelete.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
diff --git a/konsolekalendar/konsolekalendarepoch.cpp b/konsolekalendar/konsolekalendarepoch.cpp
index 59cd7e916..e314bde7c 100644
--- a/konsolekalendar/konsolekalendarepoch.cpp
+++ b/konsolekalendar/konsolekalendarepoch.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
@@ -49,23 +49,23 @@ KonsoleKalendarEpoch::~KonsoleKalendarEpoch()
// By "epoch" we mean the number of seconds since 00:00:00 UTC on January 1 1970
-// Function to convert an epoch value into a QDateTime
+// Function to convert an epoch value into a TQDateTime
TQDateTime KonsoleKalendarEpoch::epoch2TQDateTime( uint epoch )
{
TQDateTime dt;
- dt.setTime_t( epoch, Qt::UTC );
+ dt.setTime_t( epoch, TQt::UTC );
return( dt );
}
// Function to convert a TQDateTime value into an epoch
-uint KonsoleKalendarEpoch::QDateTime2epoch( TQDateTime dt )
+uint KonsoleKalendarEpoch::TQDateTime2epoch( TQDateTime dt )
{
// THIS FUNCTION CAN BE OFF BY 1 HOUR DUE TO DAYLIGHT SAVINGS TIME.
// SORRY QT DOESN'T HANDLE DAYLIGHT SAVINGS TIME.
// Compute #seconds to subtract for local timezone difference from UTC.
- int offset = TQDateTime::tqcurrentDateTime( Qt::UTC ).toTime_t()
- - TQDateTime::tqcurrentDateTime( Qt::LocalTime ).toTime_t();
+ int offset = TQDateTime::tqcurrentDateTime( TQt::UTC ).toTime_t()
+ - TQDateTime::tqcurrentDateTime( TQt::LocalTime ).toTime_t();
return( dt.toTime_t() - offset );
}
@@ -90,12 +90,12 @@ main()
cout << "epoch="
<< epoch
<< " converts to "
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< endl;
- epoch = KonsoleKalendarEpoch::QDateTime2epoch( dt );
+ epoch = KonsoleKalendarEpoch::TQDateTime2epoch( dt );
cout << "date="
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< " converts to "
<< "epoch="
<< epoch
@@ -108,12 +108,12 @@ main()
cout << "epoch="
<< epoch
<< " converts to "
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< endl;
- epoch = KonsoleKalendarEpoch::QDateTime2epoch( dt );
+ epoch = KonsoleKalendarEpoch::TQDateTime2epoch( dt );
cout << "date="
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< " converts to "
<< "epoch="
<< epoch
@@ -126,12 +126,12 @@ main()
cout << "epoch="
<< epoch
<< " converts to "
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< endl;
- epoch = KonsoleKalendarEpoch::QDateTime2epoch( dt );
+ epoch = KonsoleKalendarEpoch::TQDateTime2epoch( dt );
cout << "date="
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< " converts to "
<< "epoch="
<< epoch
@@ -144,12 +144,12 @@ main()
cout << "epoch="
<< epoch
<< " converts to "
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< endl;
- epoch = KonsoleKalendarEpoch::QDateTime2epoch( dt );
+ epoch = KonsoleKalendarEpoch::TQDateTime2epoch( dt );
cout << "date="
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< " converts to "
<< "epoch="
<< epoch
@@ -162,12 +162,12 @@ main()
cout << "epoch="
<< epoch
<< " converts to "
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< endl;
- epoch = KonsoleKalendarEpoch::QDateTime2epoch( dt );
+ epoch = KonsoleKalendarEpoch::TQDateTime2epoch( dt );
cout << "date="
- << dt.toString( Qt::TextDate )
+ << dt.toString( TQt::TextDate )
<< " converts to "
<< "epoch="
<< epoch
diff --git a/konsolekalendar/konsolekalendarepoch.h b/konsolekalendar/konsolekalendarepoch.h
index fedd392c3..c73c087b0 100644
--- a/konsolekalendar/konsolekalendarepoch.h
+++ b/konsolekalendar/konsolekalendarepoch.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
@@ -63,7 +63,7 @@ namespace KCal
* Converts QT DateTime to epoch format.
* @param dt is a TQDateTime to convert to an epoch.
*/
- static uint QDateTime2epoch( TQDateTime dt );
+ static uint TQDateTime2epoch( TQDateTime dt );
};
diff --git a/konsolekalendar/konsolekalendarexports.cpp b/konsolekalendar/konsolekalendarexports.cpp
index 60441bd5e..cc3edf875 100644
--- a/konsolekalendar/konsolekalendarexports.cpp
+++ b/konsolekalendar/konsolekalendarexports.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
diff --git a/konsolekalendar/konsolekalendarexports.h b/konsolekalendar/konsolekalendarexports.h
index 8db27c97f..930426d48 100644
--- a/konsolekalendar/konsolekalendarexports.h
+++ b/konsolekalendar/konsolekalendarexports.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
diff --git a/konsolekalendar/konsolekalendarvariables.cpp b/konsolekalendar/konsolekalendarvariables.cpp
index a93279239..122b85252 100644
--- a/konsolekalendar/konsolekalendarvariables.cpp
+++ b/konsolekalendar/konsolekalendarvariables.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
diff --git a/konsolekalendar/konsolekalendarvariables.h b/konsolekalendar/konsolekalendarvariables.h
index 9b0c82d32..a3aa1040f 100644
--- a/konsolekalendar/konsolekalendarvariables.h
+++ b/konsolekalendar/konsolekalendarvariables.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
diff --git a/konsolekalendar/main.cpp b/konsolekalendar/main.cpp
index 42f5dd992..14b892052 100644
--- a/konsolekalendar/main.cpp
+++ b/konsolekalendar/main.cpp
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* *
* As a special exception, permission is given to link this program *
- * with any edition of Qt, and distribute the resulting executable, *
- * without including the source code for Qt in the source distribution. *
+ * with any edition of TQt, and distribute the resulting executable, *
+ * without including the source code for TQt in the source distribution. *
* *
******************************************************************************/
/**
@@ -472,7 +472,7 @@ int main( int argc, char *argv[] )
<< "(" << option << ")"
<< endl;
- startdate = TQDate::fromString( option, Qt::ISODate );
+ startdate = TQDate::fromString( option, TQt::ISODate );
if ( !startdate.isValid() ) {
cout << i18n( "Invalid Start Date Specified: %1" ).
arg( option ).local8Bit()
@@ -497,7 +497,7 @@ int main( int argc, char *argv[] )
<< endl;
if ( option.upper() != "FLOAT" ) {
- starttime = TQTime::fromString( option, Qt::ISODate );
+ starttime = TQTime::fromString( option, TQt::ISODate );
if ( !starttime.isValid() ) {
cout << i18n( "Invalid Start Time Specified: %1" ).
arg( option ).local8Bit()
@@ -527,7 +527,7 @@ int main( int argc, char *argv[] )
<< "(" << option << ")"
<< endl;
- enddate = TQDate::fromString( option, Qt::ISODate );
+ enddate = TQDate::fromString( option, TQt::ISODate );
if ( !enddate.isValid() ) {
cout << i18n( "Invalid End Date Specified: %1" ).
arg( option ).local8Bit()
@@ -579,7 +579,7 @@ int main( int argc, char *argv[] )
<< endl;
if ( option.upper() != "FLOAT" ) {
- endtime = TQTime::fromString( option, Qt::ISODate );
+ endtime = TQTime::fromString( option, TQt::ISODate );
if ( !endtime.isValid() ) {
cout << i18n( "Invalid End Time Specified: %1" ).
arg( option ).local8Bit()
@@ -854,10 +854,10 @@ int main( int argc, char *argv[] )
// Some more debug prints
kdDebug() << "main | datetimestamp | StartDate="
- << startdatetime.toString( Qt::TextDate )
+ << startdatetime.toString( TQt::TextDate )
<< endl;
kdDebug() << "main | datetimestamp | EndDate="
- << enddatetime.toString( Qt::TextDate )
+ << enddatetime.toString( TQt::TextDate )
<< endl;
/***************************************************************************