diff options
Diffstat (limited to 'kgantt/kgantt/xQGanttBarViewPort.h')
-rw-r--r-- | kgantt/kgantt/xQGanttBarViewPort.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kgantt/kgantt/xQGanttBarViewPort.h b/kgantt/kgantt/xQGanttBarViewPort.h index 1b3de985..e84761e1 100644 --- a/kgantt/kgantt/xQGanttBarViewPort.h +++ b/kgantt/kgantt/xQGanttBarViewPort.h @@ -1,5 +1,5 @@ -#ifndef _XQGANTTBARVIEWPORT_H_ -#define _XQGANTTBARVIEWPORT_H_ +#ifndef _XTQGANTTBARVIEWPORT_H_ +#define _XTQGANTTBARVIEWPORT_H_ /* @@ -51,13 +51,13 @@ class xQGanttBarView; // This is an internal class. // helper for drawing items -class xQTaskPosition +class xTQTaskPosition //////////////////// { public : - xQTaskPosition(int nr, int x, int y, int w, int h, int hiSub, + xTQTaskPosition(int nr, int x, int y, int w, int h, int hiSub, int tPx, int tPy, int d) : _nr(nr), _screenX(x), _screenY(y), _screenW(w), _screenH(h), _screenHS(hiSub), _textPosX(tPx), _textPosY(tPy), _depth(d) @@ -85,11 +85,12 @@ public : */ ///////////////////////////////////////// -class KDE_EXPORT xQGanttBarViewPort : public QFrame +class KDE_EXPORT xQGanttBarViewPort : public TQFrame //////////////////////////////////////// { Q_OBJECT + TQ_OBJECT friend class xQGanttBarView; friend class KGantt; @@ -103,7 +104,7 @@ public: /*! * */ - xQGanttBarViewPort(KGanttItem* toplevelitem, xQGanttBarView* parent = 0, + xQGanttBarViewPort(KGanttItem* toplevelitem, xQGanttBarView* tqparent = 0, const char * name=0, WFlags f=0 ); @@ -123,7 +124,7 @@ public: - TQPtrDict<xQTaskPosition> _gItemList; + TQPtrDict<xTQTaskPosition> _gItemList; /// Add holiday. @@ -244,7 +245,7 @@ private: // this will be set by setParentScrollView() - xQGanttBarView* _parent; + xQGanttBarView* _tqparent; int _grid, _snapgrid; bool _drawGrid, _drawHeader; |