summaryrefslogtreecommitdiffstats
path: root/knotes/knotesalarm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotesalarm.cpp')
-rw-r--r--knotes/knotesalarm.cpp18
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();