diff options
Diffstat (limited to 'kgantt/kgantt/xQGanttBarViewPort.h')
-rw-r--r-- | kgantt/kgantt/xQGanttBarViewPort.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/kgantt/kgantt/xQGanttBarViewPort.h b/kgantt/kgantt/xQGanttBarViewPort.h index 7f30ad29..1b3de985 100644 --- a/kgantt/kgantt/xQGanttBarViewPort.h +++ b/kgantt/kgantt/xQGanttBarViewPort.h @@ -32,16 +32,16 @@ #include "KGanttItem.h" -#include <qcursor.h> -#include <qtimer.h> -#include <qlabel.h> +#include <tqcursor.h> +#include <tqtimer.h> +#include <tqlabel.h> #include <kpopupmenu.h> #include <ktoolbar.h> -#include <qptrdict.h> -#include <qaction.h> -#include <qlineedit.h> +#include <tqptrdict.h> +#include <tqaction.h> +#include <tqlineedit.h> class xQGanttBarView; @@ -123,7 +123,7 @@ public: - QPtrDict<xQTaskPosition> _gItemList; + TQPtrDict<xQTaskPosition> _gItemList; /// Add holiday. @@ -154,7 +154,7 @@ public: /*! * */ - KToolBar* toolbar(QMainWindow* mw = 0); + KToolBar* toolbar(TQMainWindow* mw = 0); // zoom by factor sfactor and move wx,wy to the center @@ -164,7 +164,7 @@ public: void zoom(double sfactor); - void getSelectedItems(QPtrList<KGanttItem>& list) { + void getSelectedItems(TQPtrList<KGanttItem>& list) { getSelectedItems(_toplevelitem, list); } @@ -175,7 +175,7 @@ signals: void scroll(int x, int y); void resized(); void recalculated(); - void message(const QString& msg); + void message(const TQString& msg); protected slots: @@ -257,10 +257,10 @@ private: int _margin; - QCursor* _cursor_lupe; + TQCursor* _cursor_lupe; - QLabel* _itemInfo; - QLineEdit* _itemTextEdit; + TQLabel* _itemInfo; + TQLineEdit* _itemTextEdit; // all item are stored here @@ -275,49 +275,49 @@ private: KToolBar* _toolbar; - QPoint* _startPoint, *_endPoint; + TQPoint* _startPoint, *_endPoint; - QPtrList<QDate> _holidays; + TQPtrList<TQDate> _holidays; - QPtrList<KGanttItem> *_observedList; + TQPtrList<KGanttItem> *_observedList; /// void initMenu(); - void drawGrid(QPainter*, int x1, int y1, int x2, int y2); - void drawHeader(QPainter*, int x1, int y1, int x2, int y2); - void drawItem(KGanttItem* item, QPainter* p, const QRect& rect ); + void drawGrid(TQPainter*, int x1, int y1, int x2, int y2); + void drawHeader(TQPainter*, int x1, int y1, int x2, int y2); + void drawItem(KGanttItem* item, TQPainter* p, const TQRect& rect ); - void drawRelation(QPainter*, KGanttRelation*); + void drawRelation(TQPainter*, KGanttRelation*); void recalc(KGanttItem* item, int xPos, int yPos, int depth, int nr ); void recalc(); void selectItem(KGanttItem*,bool); - void getSelectedItems(KGanttItem*, QPtrList<KGanttItem>&); + void getSelectedItems(KGanttItem*, TQPtrList<KGanttItem>&); void adjustSize(); - void observeList(QPtrList<KGanttItem>*); + void observeList(TQPtrList<KGanttItem>*); Position check(KGanttItem** founditem, int x, int y); - void mousePressEvent(QMouseEvent*); - void mouseReleaseEvent(QMouseEvent*); + void mousePressEvent(TQMouseEvent*); + void mouseReleaseEvent(TQMouseEvent*); - void wheelEvent ( QWheelEvent * /*e*/) { + void wheelEvent ( TQWheelEvent * /*e*/) { printf("wheelEvent\n"); } - void mouseMoveEvent(QMouseEvent*); - void keyPressEvent(QKeyEvent* e); - void paintEvent(QPaintEvent * e); + void mouseMoveEvent(TQMouseEvent*); + void keyPressEvent(TQKeyEvent* e); + void paintEvent(TQPaintEvent * e); - QPixmap closedIcon, openedIcon; + TQPixmap closedIcon, openedIcon; }; |