summaryrefslogtreecommitdiffstats
path: root/karm/karmdcopiface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /karm/karmdcopiface.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'karm/karmdcopiface.h')
-rw-r--r--karm/karmdcopiface.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/karm/karmdcopiface.h b/karm/karmdcopiface.h
index 1135c81e6..6c0480336 100644
--- a/karm/karmdcopiface.h
+++ b/karm/karmdcopiface.h
@@ -30,10 +30,10 @@ class KarmDCOPIface : virtual public DCOPObject
k_dcop:
/** Return karm version. */
- virtual QString version() const = 0;
+ virtual TQString version() const = 0;
/** Return id of task found, empty string if no match. */
- virtual QString taskIdFromName( const QString& taskName ) const = 0;
+ virtual TQString taskIdFromName( const TQString& taskName ) const = 0;
/**
* Add a new top-level task.
@@ -44,7 +44,7 @@ class KarmDCOPIface : virtual public DCOPObject
*
* @return 0 on success, error number on failure.
*/
- virtual int addTask( const QString& taskName ) = 0;
+ virtual int addTask( const TQString& taskName ) = 0;
/**
* Set percent complete to a task
@@ -54,7 +54,7 @@ class KarmDCOPIface : virtual public DCOPObject
*
* @return "" on success, error msg on failure.
*/
- virtual QString setPerCentComplete( const QString& taskName, int perCent ) = 0;
+ virtual TQString setPerCentComplete( const TQString& taskName, int perCent ) = 0;
/**
* Add time to a task.
@@ -74,7 +74,7 @@ class KarmDCOPIface : virtual public DCOPObject
* @param durationInMinutes The amount of time to book against the taskId.
*
*/
- virtual int bookTime( const QString& taskId, const QString& iso8601StartDateTime,
+ virtual int bookTime( const TQString& taskId, const TQString& iso8601StartDateTime,
long durationInMinutes ) = 0;
/**
@@ -87,7 +87,7 @@ class KarmDCOPIface : virtual public DCOPObject
* the return value.
*
*/
- virtual QString getError( int karmErrorNumber ) const = 0;
+ virtual TQString getError( int karmErrorNumber ) const = 0;
/**
* Total time currently associated with a task.
@@ -97,30 +97,30 @@ class KarmDCOPIface : virtual public DCOPObject
*
* @param taskId Unique ID of task to lookup bookings for.
*/
- virtual int totalMinutesForTaskId( const QString& taskId ) = 0;
+ virtual int totalMinutesForTaskId( const TQString& taskId ) = 0;
/** Start timer for all tasks with the summary taskname. */
// may conflict with unitaskmode
- virtual QString starttimerfor( const QString& taskname ) = 0;
+ virtual TQString starttimerfor( const TQString& taskname ) = 0;
/** Stop timer for all tasks with the summary taskname. */
// may conflict with unitaskmode
- virtual QString stoptimerfor( const QString& taskname ) = 0;
+ virtual TQString stoptimerfor( const TQString& taskname ) = 0;
/** delete the current item */
- virtual QString deletetodo() = 0;
+ virtual TQString deletetodo() = 0;
/** set if prompted on deleting a task */
- virtual QString setpromptdelete( bool prompt ) = 0;
+ virtual TQString setpromptdelete( bool prompt ) = 0;
/** get if prompted on deleting a task */
virtual bool getpromptdelete() = 0;
/** export csv history or totals file */
- virtual QString exportcsvfile( QString filename, QString from, QString to, int type = 0, bool decimalMinutes=true, bool allTasks=true, QString delimiter=";", QString quote="'" ) = 0;
+ virtual TQString exportcsvfile( TQString filename, TQString from, TQString to, int type = 0, bool decimalMinutes=true, bool allTasks=true, TQString delimiter=";", TQString quote="'" ) = 0;
/** import planner project file */
- virtual QString importplannerfile( QString filename ) = 0;
+ virtual TQString importplannerfile( TQString filename ) = 0;
/** save your tasks */
virtual bool save() = 0;