summaryrefslogtreecommitdiffstats
path: root/kgantt/kgantt/KGantt.h
diff options
context:
space:
mode:
Diffstat (limited to 'kgantt/kgantt/KGantt.h')
-rw-r--r--kgantt/kgantt/KGantt.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kgantt/kgantt/KGantt.h b/kgantt/kgantt/KGantt.h
index 90c3b86f..fbde52d7 100644
--- a/kgantt/kgantt/KGantt.h
+++ b/kgantt/kgantt/KGantt.h
@@ -34,8 +34,8 @@
*/
-#include <qwidget.h>
-#include <qsplitter.h>
+#include <tqwidget.h>
+#include <tqsplitter.h>
#include <kpopupmenu.h>
#include <kdepimmacros.h>
@@ -66,8 +66,8 @@
KGanttItem* t1 = new KGanttItem(toplevel,
"task 1, no subtasks",
- QDateTime::currentDateTime().addDays(10),
- QDateTime::currentDateTime().addDays(20) );
+ TQDateTime::currentDateTime().addDays(10),
+ TQDateTime::currentDateTime().addDays(20) );
...
@@ -102,7 +102,7 @@ public:
*
*/
KGantt(KGanttItem* toplevelitem = 0,
- QWidget* parent = 0, const char * name=0, WFlags f=0 );
+ TQWidget* parent = 0, const char * name=0, WFlags f=0 );
/// Destructor.
@@ -158,7 +158,7 @@ public:
- QSplitter* splitter() {
+ TQSplitter* splitter() {
return _splitter;
}
@@ -194,7 +194,7 @@ public:
* you want to access the pointer to a already created toolbar you
* can invoke this method without any parameter.
*/
- KToolBar* toolbar(QMainWindow* mw = 0) {
+ KToolBar* toolbar(TQMainWindow* mw = 0) {
return _ganttbar->viewport()->toolbar(mw);
}
@@ -212,7 +212,7 @@ public:
/*!
* All selected KGanttItems will be added to the passed list.
*/
- void getSelectedItems(QPtrList<KGanttItem>& list) {
+ void getSelectedItems(TQPtrList<KGanttItem>& list) {
_ganttbar->viewport()->getSelectedItems(list);
}
@@ -296,7 +296,7 @@ public slots:
protected:
- void resizeEvent(QResizeEvent* /*e*/) {
+ void resizeEvent(TQResizeEvent* /*e*/) {
_splitter->resize(width(),height());
};
@@ -305,7 +305,7 @@ private:
KGanttItem* _toplevelitem;
- QSplitter *_splitter;
+ TQSplitter *_splitter;
xQGanttBarView* _ganttbar;
xQGanttListView* _ganttlist;