summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskappointmentsview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kplato/kpttaskappointmentsview.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kpttaskappointmentsview.h')
-rw-r--r--kplato/kpttaskappointmentsview.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/kplato/kpttaskappointmentsview.h b/kplato/kpttaskappointmentsview.h
index b2c75f37..d4d8e101 100644
--- a/kplato/kpttaskappointmentsview.h
+++ b/kplato/kpttaskappointmentsview.h
@@ -24,13 +24,13 @@
#include "kptdoublelistviewbase.h"
#include "kpteffortcostmap.h"
-class QComboBox;
-class QDateEdit;
-class QPushButton;
-class QSplitter;
-class QListViewItem;
-class QLabel;
-class QPushButton;
+class TQComboBox;
+class TQDateEdit;
+class TQPushButton;
+class TQSplitter;
+class TQListViewItem;
+class TQLabel;
+class TQPushButton;
class KListView;
class KListViewItem;
@@ -50,9 +50,10 @@ class ResourceItemPrivate;
class TaskAppointmentsView : public DoubleListViewBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- TaskAppointmentsView(QWidget *parent);
+ TaskAppointmentsView(TQWidget *tqparent);
//~TaskAppointmentsView();
@@ -60,7 +61,7 @@ public:
void draw();
void draw(Task *task);
- virtual void drawContents(QPainter* painter);
+ virtual void drawContents(TQPainter* painter);
void print(KPrinter &printer);
void clear();
@@ -75,9 +76,9 @@ protected slots:
private:
class ResourceItem : public DoubleListViewBase::MasterListItem {
public:
- ResourceItem(Resource *r, QListView *parent, bool highlight=false);
- ResourceItem(Resource *r, QListViewItem *parent, bool highlight=false);
- ResourceItem(QString text, QListViewItem *parent, bool highlight=false);
+ ResourceItem(Resource *r, TQListView *tqparent, bool highlight=false);
+ ResourceItem(Resource *r, TQListViewItem *tqparent, bool highlight=false);
+ ResourceItem(TQString text, TQListViewItem *tqparent, bool highlight=false);
Resource *resource;
EffortCostMap effortMap;