summaryrefslogtreecommitdiffstats
path: root/konsolekalendar
diff options
context:
space:
mode:
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 54754ab4..b55fa146 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 333366ec..6d8a4a27 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 564adf53..f8c5fa99 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 71ded4f6..df09b69f 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 e1c80498..bd198073 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 d1c9a296..688cc9a9 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 fffd38cc..067c05e2 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 80e8f8c2..9430394f 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 02d67627..b3f27650 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 2a01990f..cf843e67 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 59cd7e91..e314bde7 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 fedd392c..c73c087b 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 60441bd5..cc3edf87 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 8db27c97..930426d4 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 a9327923..122b8525 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 9b0c82d3..a3aa1040 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 42f5dd99..14b89205 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;
/***************************************************************************