summaryrefslogtreecommitdiffstats
path: root/kpilot/todoWidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 00:37:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 00:37:32 +0000
commitf6f9c296c3f9d39a8c3d0ee64a542a47f450be28 (patch)
treed38fce8091ce66977004a5cb115768c7810aee30 /kpilot/todoWidget.h
parente340db64991a06761aa6395ffe760b53e4c1dfbc (diff)
downloadkpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.tar.gz
kpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.zip
TQt4 port kpilot
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1238903 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/todoWidget.h')
-rw-r--r--kpilot/todoWidget.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/kpilot/todoWidget.h b/kpilot/todoWidget.h
index 63ee3e8..d4b5276 100644
--- a/kpilot/todoWidget.h
+++ b/kpilot/todoWidget.h
@@ -41,8 +41,9 @@ class TQTextView;
class TodoListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- TodoListView(TQWidget * parent = 0, const char * name = 0 ):KListView(parent, name){};
+ TodoListView(TQWidget * tqparent = 0, const char * name = 0 ):KListView(tqparent, name){};
~TodoListView() {};
signals:
void itemChecked(TQCheckListItem*item);
@@ -58,7 +59,7 @@ public:
class TodoCheckListItem : public PilotCheckListItem
{
public:
- TodoCheckListItem(TQListView*parent, const TQString&text, recordid_t pilotid, void*r);
+ TodoCheckListItem(TQListView*tqparent, const TQString&text, recordid_t pilotid, void*r);
~TodoCheckListItem() {};
virtual void stateChange(bool state);
};
@@ -66,9 +67,10 @@ public:
class TodoWidget : public PilotComponent
{
Q_OBJECT
+ TQ_OBJECT
public:
- TodoWidget(TQWidget* parent,const TQString& dbpath);
+ TodoWidget(TQWidget* tqparent,const TQString& dbpath);
~TodoWidget();
// Pilot Component Methods:
@@ -142,18 +144,18 @@ private:
* currently selected category.
*
* The entire todo database is read into memory in the
- * QList fTodoList. We need the appinfo block from the
+ * TQList fTodoList. We need the appinfo block from the
* database to determine which categories there are; this
* is held in fTodoAppInfo.
*
* The two buttons should speak for themselves.
*/
- QComboBox *fCatList;
- QTextView *fTodoInfo;
+ TQComboBox *fCatList;
+ TQTextView *fTodoInfo;
PilotToDoInfo *fTodoAppInfo;
TQPtrList<PilotTodoEntry> fTodoList;
TodoListView *fListBox;
- QPushButton *fEditButton,*fDeleteButton;
+ TQPushButton *fEditButton,*fDeleteButton;
PilotDatabase *fTodoDB;
protected:
/**