summaryrefslogtreecommitdiffstats
path: root/konsolekalendar
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:34:45 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /konsolekalendar
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'konsolekalendar')
-rw-r--r--konsolekalendar/konsolekalendarepoch.cpp4
-rw-r--r--konsolekalendar/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/konsolekalendar/konsolekalendarepoch.cpp b/konsolekalendar/konsolekalendarepoch.cpp
index ec59d7a3f..6aebd9a94 100644
--- a/konsolekalendar/konsolekalendarepoch.cpp
+++ b/konsolekalendar/konsolekalendarepoch.cpp
@@ -64,8 +64,8 @@ uint KonsoleKalendarEpoch::TQDateTime2epoch( TQDateTime dt )
// 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::currentDateTime( Qt::UTC ).toTime_t()
+ - TQDateTime::currentDateTime( Qt::LocalTime ).toTime_t();
return( dt.toTime_t() - offset );
}
diff --git a/konsolekalendar/main.cpp b/konsolekalendar/main.cpp
index 0fc5bf72c..124862fed 100644
--- a/konsolekalendar/main.cpp
+++ b/konsolekalendar/main.cpp
@@ -204,11 +204,11 @@ int main( int argc, char *argv[] )
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
// Default values for start date/time (today at 07:00)
- TQDate startdate = TQDate::tqcurrentDate();
+ TQDate startdate = TQDate::currentDate();
TQTime starttime( 7, 0 );
// Default values for end date/time (today at 17:00)
- TQDate enddate = TQDate::tqcurrentDate();
+ TQDate enddate = TQDate::currentDate();
TQTime endtime( 17, 0 );
// Default values for switches