summaryrefslogtreecommitdiffstats
path: root/knotes/resourcelocal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/resourcelocal.cpp')
-rw-r--r--knotes/resourcelocal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knotes/resourcelocal.cpp b/knotes/resourcelocal.cpp
index 194afb6f0..a6e4b9a3f 100644
--- a/knotes/resourcelocal.cpp
+++ b/knotes/resourcelocal.cpp
@@ -45,7 +45,7 @@
ResourceLocal::ResourceLocal( const KConfig *config )
- : ResourceNotes( config ), mCalendar( QString::fromLatin1( "UTC" ) )
+ : ResourceNotes( config ), mCalendar( TQString::fromLatin1( "UTC" ) )
{
kdDebug(5500) << "ResourceLocal::ResourceLocal()" << endl;
setType( "file" );
@@ -108,20 +108,20 @@ bool ResourceLocal::deleteNote( KCal::Journal *journal )
return true;
}
-KCal::Alarm::List ResourceLocal::alarms( const QDateTime& from, const QDateTime& to )
+KCal::Alarm::List ResourceLocal::alarms( const TQDateTime& from, const TQDateTime& to )
{
KCal::Alarm::List alarms;
KCal::Journal::List notes = mCalendar.journals();
KCal::Journal::List::ConstIterator note;
for ( note = notes.begin(); note != notes.end(); ++note )
{
- QDateTime preTime = from.addSecs( -1 );
+ TQDateTime preTime = from.addSecs( -1 );
KCal::Alarm::List::ConstIterator it;
for( it = (*note)->alarms().begin(); it != (*note)->alarms().end(); ++it )
{
if ( (*it)->enabled() )
{
- QDateTime dt = (*it)->nextRepetition( preTime );
+ TQDateTime dt = (*it)->nextRepetition( preTime );
if ( dt.isValid() && dt <= to )
alarms.append( *it );
}