diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /knotes/knotesalarm.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knotes/knotesalarm.cpp')
-rw-r--r-- | knotes/knotesalarm.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/knotes/knotesalarm.cpp b/knotes/knotesalarm.cpp index 056c448ed..c653d80ca 100644 --- a/knotes/knotesalarm.cpp +++ b/knotes/knotesalarm.cpp @@ -29,7 +29,7 @@ your version. *******************************************************************/ -#include <qstringlist.h> +#include <tqstringlist.h> #include <kmessagebox.h> #include <klocale.h> @@ -42,28 +42,28 @@ #include "knotesglobalconfig.h" -KNotesAlarm::KNotesAlarm( KNotesResourceManager *manager, QObject *parent, const char *name ) - : QObject( parent, name ), +KNotesAlarm::KNotesAlarm( KNotesResourceManager *manager, TQObject *parent, const char *name ) + : TQObject( parent, name ), m_manager( manager ), m_checkTimer( 0, "m_checkTimer" ) { // TODO: fix timezone stuff? - connect( &m_checkTimer, SIGNAL(timeout()), SLOT(checkAlarms()) ); + connect( &m_checkTimer, TQT_SIGNAL(timeout()), TQT_SLOT(checkAlarms()) ); m_checkTimer.start( 1000 * KNotesGlobalConfig::self()->checkInterval() ); // interval in seconds } void KNotesAlarm::checkAlarms() { - QDateTime from = KNotesGlobalConfig::self()->alarmsLastChecked().addSecs( 1 ); + TQDateTime from = KNotesGlobalConfig::self()->alarmsLastChecked().addSecs( 1 ); if ( !from.isValid() ) from.setTime_t( 0 ); - KNotesGlobalConfig::self()->setAlarmsLastChecked( QDateTime::currentDateTime() ); - QValueList<KCal::Alarm *> alarms = m_manager->alarms( from, KNotesGlobalConfig::self()->alarmsLastChecked() ); + KNotesGlobalConfig::self()->setAlarmsLastChecked( TQDateTime::currentDateTime() ); + TQValueList<KCal::Alarm *> alarms = m_manager->alarms( from, KNotesGlobalConfig::self()->alarmsLastChecked() ); - QStringList notes; - QValueList<KCal::Alarm *>::ConstIterator it; + TQStringList notes; + TQValueList<KCal::Alarm *>::ConstIterator it; for ( it = alarms.begin(); it != alarms.end(); ++it ) { KCal::Incidence *incidence = (*it)->parent(); |