summaryrefslogtreecommitdiffstats
path: root/karm/karmstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/karmstorage.cpp')
-rw-r--r--karm/karmstorage.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/karm/karmstorage.cpp b/karm/karmstorage.cpp
index 92f69ff6d..84ac89302 100644
--- a/karm/karmstorage.cpp
+++ b/karm/karmstorage.cpp
@@ -35,7 +35,7 @@
#include <tqstringlist.h>
#include "incidence.h"
-#include "tdeapplication.h" // kapp
+#include "tdeapplication.h" // tdeApp
#include <kdebug.h>
#include <tdeemailsettings.h>
#include <tdelocale.h> // i18n
@@ -608,7 +608,7 @@ TQString KarmStorage::exportcsvFile( TaskView *taskview,
while ( tasknr < taskview->count() && !dialog.wasCancelled() )
{
dialog.progressBar()->advance( 1 );
- if ( tasknr % 15 == 0 ) kapp->processEvents(); // repainting is slow
+ if ( tasknr % 15 == 0 ) tdeApp->processEvents(); // repainting is slow
if ( taskview->item_at_index(tasknr)->depth() > maxdepth )
maxdepth = taskview->item_at_index(tasknr)->depth();
tasknr++;
@@ -620,7 +620,7 @@ TQString KarmStorage::exportcsvFile( TaskView *taskview,
{
task = taskview->item_at_index( tasknr );
dialog.progressBar()->advance( 1 );
- if ( tasknr % 15 == 0 ) kapp->processEvents();
+ if ( tasknr % 15 == 0 ) tdeApp->processEvents();
// indent the task in the csv-file:
for ( int i=0; i < task->depth(); ++i ) retval += delim;
@@ -1069,7 +1069,7 @@ bool KarmStorage::bookTime(const Task* task,
e->setDtEnd( startDateTime.addSecs( durationInSeconds ) );
// Use a custom property to keep a record of negative durations
- e->setCustomProperty( kapp->instanceName(),
+ e->setCustomProperty( tdeApp->instanceName(),
TQCString("duration"),
TQString::number(durationInSeconds));
@@ -1095,7 +1095,7 @@ void KarmStorage::changeTime(const Task* task, const long deltaSeconds)
e->setDtEnd(end);
// Use a custom property to keep a record of negative durations
- e->setCustomProperty( kapp->instanceName(),
+ e->setCustomProperty( tdeApp->instanceName(),
TQCString("duration"),
TQString::number(deltaSeconds));
@@ -1175,7 +1175,7 @@ TQValueList<HistoryEvent> KarmStorage::getHistory(const TQDate& from,
// an easy fix for a (hopefully) rare situation.
processed.append( (*event)->uid());
- duration = (*event)->customProperty(kapp->instanceName(),
+ duration = (*event)->customProperty(tdeApp->instanceName(),
TQCString("duration"));
if ( ! duration.isNull() )
{