summaryrefslogtreecommitdiffstats
path: root/karm/task.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 18:26:41 +0900
committerMichele Calgaro <[email protected]>2025-01-20 18:26:41 +0900
commitaae5ebe5008a41fe4a4767092d7e17600abf6725 (patch)
tree97002e11e1564bceeda4fb4b3b04164bb9e72286 /karm/task.cpp
parent69779eb81c20b80b56ab698f44a944efd6107a74 (diff)
downloadtdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz
tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'karm/task.cpp')
-rw-r--r--karm/task.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/karm/task.cpp b/karm/task.cpp
index 88c0e099b..6b4d32839 100644
--- a/karm/task.cpp
+++ b/karm/task.cpp
@@ -5,7 +5,7 @@
#include <kiconloader.h>
-#include "tdeapplication.h" // kapp
+#include "tdeapplication.h" // tdeApp
#include "kdebug.h"
#include "event.h"
@@ -306,15 +306,15 @@ KCal::Todo* Task::asTodo(KCal::Todo* todo) const
// time the file is opened.
// todo->setDtStart( current );
- todo->setCustomProperty( kapp->instanceName(),
+ todo->setCustomProperty( tdeApp->instanceName(),
TQCString( "totalTaskTime" ), TQString::number( _time ) );
- todo->setCustomProperty( kapp->instanceName(),
+ todo->setCustomProperty( tdeApp->instanceName(),
TQCString( "totalSessionTime" ), TQString::number( _sessionTime) );
if (getDesktopStr().isEmpty())
- todo->removeCustomProperty(kapp->instanceName(), TQCString("desktopList"));
+ todo->removeCustomProperty(tdeApp->instanceName(), TQCString("desktopList"));
else
- todo->setCustomProperty( kapp->instanceName(),
+ todo->setCustomProperty( tdeApp->instanceName(),
TQCString( "desktopList" ), getDesktopStr() );
todo->setOrganizer( Preferences::instance()->userRealName() );
@@ -336,18 +336,18 @@ bool Task::parseIncidence( KCal::Incidence* incident, long& minutes,
_comment = incident->description();
ok = false;
- minutes = incident->customProperty( kapp->instanceName(),
+ minutes = incident->customProperty( tdeApp->instanceName(),
TQCString( "totalTaskTime" )).toInt( &ok );
if ( !ok )
minutes = 0;
ok = false;
- sessionMinutes = incident->customProperty( kapp->instanceName(),
+ sessionMinutes = incident->customProperty( tdeApp->instanceName(),
TQCString( "totalSessionTime" )).toInt( &ok );
if ( !ok )
sessionMinutes = 0;
- TQString desktopList = incident->customProperty( kapp->instanceName(),
+ TQString desktopList = incident->customProperty( tdeApp->instanceName(),
TQCString( "desktopList" ) );
TQStringList desktopStrList = TQStringList::split( TQString::fromLatin1(","),
desktopList );