diff options
Diffstat (limited to 'kplato/kptrequestresourcespanel.h')
-rw-r--r-- | kplato/kptrequestresourcespanel.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kplato/kptrequestresourcespanel.h b/kplato/kptrequestresourcespanel.h index e7d1f11c..ada8ef10 100644 --- a/kplato/kptrequestresourcespanel.h +++ b/kplato/kptrequestresourcespanel.h @@ -23,10 +23,10 @@ #include "kpttaskresourcespanelbase.h" #include "kptduration.h" -#include <qlistview.h> -#include <qstring.h> -#include <qtable.h> -//class QCheckTableItem; +#include <tqlistview.h> +#include <tqstring.h> +#include <tqtable.h> +//class TQCheckTableItem; class KCommand; class KMacroCommand; @@ -51,7 +51,7 @@ public: ~ResourceTableItem() ; void update(); - void insert(QTable *table, int row); + void insert(TQTable *table, int row); void ok(ResourceGroupRequest *group); bool isChecked() const { return m_checked; } @@ -64,20 +64,20 @@ public: Resource *m_resource; int m_units, m_origUnits; bool m_checked, m_origChecked; - QCheckTableItem *m_checkitem; + TQCheckTableItem *m_checkitem; ResourceRequest *m_request; int m_curAccountItem; - QString m_curAccountText; + TQString m_curAccountText; }; -class GroupLVItem : public QListViewItem { +class GroupLVItem : public TQListViewItem { public: - GroupLVItem(QListView *parent, ResourceGroup *group, Task &task); + GroupLVItem(TQListView *tqparent, ResourceGroup *group, Task &task); ~GroupLVItem(); void update(); - void insert(QTable *table); - const QPtrList<ResourceTableItem> &resources() const { return m_resources; } + void insert(TQTable *table); + const TQPtrList<ResourceTableItem> &resources() const { return m_resources; } void ok(Task &task); int numRequests(); @@ -85,15 +85,16 @@ public: ResourceGroup *m_group; int m_units; - QPtrList<ResourceTableItem> m_resources; + TQPtrList<ResourceTableItem> m_resources; ResourceGroupRequest *m_request; }; class RequestResourcesPanel : public TaskResourcesPanelBase { Q_OBJECT + TQ_OBJECT public: - RequestResourcesPanel(QWidget *parent, Task &task, bool baseline=false); + RequestResourcesPanel(TQWidget *tqparent, Task &task, bool baseline=false); KCommand *buildCommand(Part *part); @@ -102,7 +103,7 @@ public: private slots: void sendChanged(); - void groupChanged(QListViewItem *item); + void groupChanged(TQListViewItem *item); void resourceChanged(int, int); void unitsChanged(int); |