summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/koalarmclient.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:50:21 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /korganizer/korgac/koalarmclient.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'korganizer/korgac/koalarmclient.cpp')
-rw-r--r--korganizer/korgac/koalarmclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/korgac/koalarmclient.cpp b/korganizer/korgac/koalarmclient.cpp
index 045dd9923..5b3ee4e9a 100644
--- a/korganizer/korgac/koalarmclient.cpp
+++ b/korganizer/korgac/koalarmclient.cpp
@@ -71,7 +71,7 @@ KOAlarmClient::KOAlarmClient( TQObject *parent, const char *name )
config->setGroup( "General" );
int numReminders = config->readNumEntry( "Reminders", 0 );
for ( int i = 1; i <= numReminders; ++i ) {
- TQString group( TQString( "Incidence-%1" ).tqarg( i ) );
+ TQString group( TQString( "Incidence-%1" ).arg( i ) );
config->setGroup( group );
TQString uid = config->readEntry( "UID" );
TQDateTime dt = config->readDateTimeEntry( "RemindAt" );
@@ -108,7 +108,7 @@ void KOAlarmClient::checkAlarms()
if ( !cfg->readBoolEntry( "Enabled", true ) ) return;
TQDateTime from = mLastChecked.addSecs( 1 );
- mLastChecked = TQDateTime::tqcurrentDateTime();
+ mLastChecked = TQDateTime::currentDateTime();
kdDebug(5891) << "Check: " << from.toString() << " - " << mLastChecked.toString() << endl;
@@ -188,7 +188,7 @@ void KOAlarmClient::dumpDebug()
TQStringList KOAlarmClient::dumpAlarms()
{
- TQDateTime start = TQDateTime( TQDateTime::tqcurrentDateTime().date(),
+ TQDateTime start = TQDateTime( TQDateTime::currentDateTime().date(),
TQTime( 0, 0 ) );
TQDateTime end = start.addDays( 1 ).addSecs( -1 );