summaryrefslogtreecommitdiffstats
path: root/karm/taskview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /karm/taskview.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karm/taskview.h')
-rw-r--r--karm/taskview.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/karm/taskview.h b/karm/taskview.h
index a3b88413..7b9bc441 100644
--- a/karm/taskview.h
+++ b/karm/taskview.h
@@ -42,9 +42,10 @@ using namespace KCal;
class TaskView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- TaskView( TQWidget *parent = 0, const char *name = 0, const TQString &icsfile = "" );
+ TaskView( TQWidget *tqparent = 0, const char *name = 0, const TQString &icsfile = "" );
virtual ~TaskView();
/** Return the first item in the view, cast to a Task pointer. */
@@ -82,7 +83,7 @@ class TaskView : public KListView
/** Add a task to view and storage. */
TQString addTask( const TQString& taskame, long total, long session, const DesktopList& desktops,
- Task* parent = 0 );
+ Task* tqparent = 0 );
public slots:
/** Save to persistent storage. */
@@ -104,7 +105,7 @@ class TaskView : public KListView
void newTask();
/** Display edit task dialog and create a new task with results. */
- void newTask( TQString caption, Task* parent );
+ void newTask( TQString caption, Task* tqparent );
/** Used to refresh (e.g. after import) */
void refresh();
@@ -136,16 +137,16 @@ class TaskView : public KListView
* expose wrappers around the storage methods we want to access instead of
* giving clients full access to objects that we own.
*
- * Hopefully, this will be redesigned as part of the Qt4 migration.
+ * Hopefully, this will be redesigned as part of the TQt4 migration.
*/
KarmStorage* storage();
/**
- * Delete task (and children) from view.
+ * Delete task (and tqchildren) from view.
*
* @param markingascomplete If false (the default), deletes history for
- * current task and all children. If markingascomplete is true, then sets
- * percent complete to 100 and removes task and all it's children from the
+ * current task and all tqchildren. If markingascomplete is true, then sets
+ * percent complete to 100 and removes task and all it's tqchildren from the
* list view.
*/
void deleteTask(bool markingascomplete=false);