diff options
Diffstat (limited to 'kplato/kptresourceappointmentsview.h')
-rw-r--r-- | kplato/kptresourceappointmentsview.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/kplato/kptresourceappointmentsview.h b/kplato/kptresourceappointmentsview.h index 76bb9073..c3ddcbb6 100644 --- a/kplato/kptresourceappointmentsview.h +++ b/kplato/kptresourceappointmentsview.h @@ -24,14 +24,14 @@ #include "kptdoublelistviewbase.h" #include "kpteffortcostmap.h" -class QComboBox; -class QDateEdit; -class QPushButton; -class QSplitter; -class QListView; -class QListViewItem; -class QLabel; -class QPushButton; +class TQComboBox; +class TQDateEdit; +class TQPushButton; +class TQSplitter; +class TQListView; +class TQListViewItem; +class TQLabel; +class TQPushButton; class KListView; class KListViewItem; @@ -51,16 +51,17 @@ class Resource; class ResourceAppointmentsView : public DoubleListViewBase { Q_OBJECT + TQ_OBJECT public: - ResourceAppointmentsView(View *view, QWidget *parent); + ResourceAppointmentsView(View *view, TQWidget *tqparent); //~ResourceAppointmentsView(); void zoom(double zoom); View *mainView() const { return m_mainview; } - void draw(Resource *resource, const QDate &start, const QDate &end); + void draw(Resource *resource, const TQDate &start, const TQDate &end); void draw(); void print(KPrinter &printer); void clear(); @@ -76,10 +77,10 @@ protected slots: private: class NodeItem : public DoubleListViewBase::MasterListItem { public: - NodeItem(Node *n, QListView *parent, bool highlight=false); - NodeItem(Node *n, QListViewItem *parent, bool highlight=false); - NodeItem(QString text, QListView *parent, bool highlight=false); - NodeItem(QString text, QListViewItem *parent, bool highlight=false); + NodeItem(Node *n, TQListView *tqparent, bool highlight=false); + NodeItem(Node *n, TQListViewItem *tqparent, bool highlight=false); + NodeItem(TQString text, TQListView *tqparent, bool highlight=false); + NodeItem(TQString text, TQListViewItem *tqparent, bool highlight=false); Node *node; EffortCostMap effortMap; @@ -90,8 +91,8 @@ private: int m_defaultFontSize; Resource *m_resource; - QDate m_start; - QDate m_end; + TQDate m_start; + TQDate m_end; NodeItem *m_availItem; NodeItem *m_totalItem; }; |