diff options
Diffstat (limited to 'kgantt/kgantt')
-rw-r--r-- | kgantt/kgantt/KGantt.cpp | 4 | ||||
-rw-r--r-- | kgantt/kgantt/KGantt.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttBarConfig.cpp | 4 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttBarConfig.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttItem.cpp | 8 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttItem.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttRelation.cpp | 8 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttRelation.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/itemedit.ui | 6 | ||||
-rw-r--r-- | kgantt/kgantt/itemedit2.ui | 6 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttBarView.cpp | 12 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttBarView.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttBarViewPort.cpp | 54 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttBarViewPort.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttBarViewPort_Events.cpp | 18 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttListView.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttListViewPort.cpp | 12 | ||||
-rw-r--r-- | kgantt/kgantt/xQGanttListViewPort.h | 4 |
18 files changed, 75 insertions, 75 deletions
diff --git a/kgantt/kgantt/KGantt.cpp b/kgantt/kgantt/KGantt.cpp index f16d4776..59df7764 100644 --- a/kgantt/kgantt/KGantt.cpp +++ b/kgantt/kgantt/KGantt.cpp @@ -58,8 +58,8 @@ KGantt::KGantt(KGanttItem* toplevelitem, _ganttbar = new xQGanttBarView(_toplevelitem, _splitter); _ganttbar->setPalette(pal1); - connect(_ganttbar, TQT_SIGNAL(contentsMoving(int,int)), - _ganttlist, TQT_SLOT(contentsMoved(int,int))); + connect(_ganttbar, TQ_SIGNAL(contentsMoving(int,int)), + _ganttlist, TQ_SLOT(contentsMoved(int,int))); _ganttlist->setBarView(_ganttbar); diff --git a/kgantt/kgantt/KGantt.h b/kgantt/kgantt/KGantt.h index ea83a213..e49e9045 100644 --- a/kgantt/kgantt/KGantt.h +++ b/kgantt/kgantt/KGantt.h @@ -91,7 +91,7 @@ class KDE_EXPORT KGantt : public TQWidget //////////////////////////////// { - Q_OBJECT + TQ_OBJECT diff --git a/kgantt/kgantt/KGanttBarConfig.cpp b/kgantt/kgantt/KGanttBarConfig.cpp index ff5f4ee8..547373b1 100644 --- a/kgantt/kgantt/KGanttBarConfig.cpp +++ b/kgantt/kgantt/KGanttBarConfig.cpp @@ -20,8 +20,8 @@ KGanttBarConfig::KGanttBarConfig(xQGanttBarView* barview, _barview = barview; KColorButton* b = new KColorButton(this); - connect(b, TQT_SIGNAL(changed(const TQColor&)), - this, TQT_SLOT(changeBackground(const TQColor&))); + connect(b, TQ_SIGNAL(changed(const TQColor&)), + this, TQ_SLOT(changeBackground(const TQColor&))); } diff --git a/kgantt/kgantt/KGanttBarConfig.h b/kgantt/kgantt/KGanttBarConfig.h index 2cd0f11d..0aac5082 100644 --- a/kgantt/kgantt/KGanttBarConfig.h +++ b/kgantt/kgantt/KGanttBarConfig.h @@ -37,7 +37,7 @@ class xQGanttBarView; class KGanttBarConfig : public TQWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/kgantt/kgantt/KGanttItem.cpp b/kgantt/kgantt/KGanttItem.cpp index f032ede0..c517e767 100644 --- a/kgantt/kgantt/KGanttItem.cpp +++ b/kgantt/kgantt/KGanttItem.cpp @@ -94,8 +94,8 @@ KGanttItem::addRelation(KGanttItem* from, KGanttItem* to, KGanttRelation* rel = new KGanttRelation(from,to,text); _relations.append(rel); - connect(rel, TQT_SIGNAL(destroyed(KGanttRelation*)), - this, TQT_SLOT(removeRelation(KGanttRelation*))); + connect(rel, TQ_SIGNAL(destroyed(KGanttRelation*)), + this, TQ_SLOT(removeRelation(KGanttRelation*))); emit changed(this, RelationAdded); return rel; @@ -130,8 +130,8 @@ KGanttItem::registerItem(KGanttItem* item) { _subitems.append(item); - connect(item, TQT_SIGNAL(changed(KGanttItem*, KGanttItem::Change)), - this, TQT_SLOT(subItemChanged(KGanttItem*, KGanttItem::Change)) ); + connect(item, TQ_SIGNAL(changed(KGanttItem*, KGanttItem::Change)), + this, TQ_SLOT(subItemChanged(KGanttItem*, KGanttItem::Change)) ); bool minChanged = false; bool maxChanged = false; diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h index 67c1a198..3472b889 100644 --- a/kgantt/kgantt/KGanttItem.h +++ b/kgantt/kgantt/KGanttItem.h @@ -55,7 +55,7 @@ class KDE_EXPORT KGanttItem : public TQObject ////////////////////////////////// { - Q_OBJECT + TQ_OBJECT diff --git a/kgantt/kgantt/KGanttRelation.cpp b/kgantt/kgantt/KGanttRelation.cpp index e5eab3b4..13bba2aa 100644 --- a/kgantt/kgantt/KGanttRelation.cpp +++ b/kgantt/kgantt/KGanttRelation.cpp @@ -23,11 +23,11 @@ KGanttRelation::KGanttRelation(KGanttItem* from, KGanttItem* to, _text = text; _pen = TQPen(TQColor(20,20,20),1); - connect(from, TQT_SIGNAL(destroyed(KGanttItem*)), - this, TQT_SLOT(itemDestroyed(KGanttItem*))); + connect(from, TQ_SIGNAL(destroyed(KGanttItem*)), + this, TQ_SLOT(itemDestroyed(KGanttItem*))); - connect(to, TQT_SIGNAL(destroyed(KGanttItem*)), - this, TQT_SLOT(itemDestroyed(KGanttItem*))); + connect(to, TQ_SIGNAL(destroyed(KGanttItem*)), + this, TQ_SLOT(itemDestroyed(KGanttItem*))); } diff --git a/kgantt/kgantt/KGanttRelation.h b/kgantt/kgantt/KGanttRelation.h index 08080bea..30028e80 100644 --- a/kgantt/kgantt/KGanttRelation.h +++ b/kgantt/kgantt/KGanttRelation.h @@ -49,7 +49,7 @@ class KGanttRelation : public TQObject ////////////////////////////////// { - Q_OBJECT + TQ_OBJECT friend class KGanttItem; diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui index 8ebfc02b..12677e2d 100644 --- a/kgantt/kgantt/itemedit.ui +++ b/kgantt/kgantt/itemedit.ui @@ -606,7 +606,7 @@ </grid> </widget> <layoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>knuminput.h</includehint> -</includehints> +<includes> + <include location="global" impldecl="in implementation">knuminput.h</include> +</includes> </UI> diff --git a/kgantt/kgantt/itemedit2.ui b/kgantt/kgantt/itemedit2.ui index 4e990183..0d308deb 100644 --- a/kgantt/kgantt/itemedit2.ui +++ b/kgantt/kgantt/itemedit2.ui @@ -323,7 +323,7 @@ </grid> </widget> <layoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>knuminput.h</includehint> -</includehints> +<includes> + <include location="global" impldecl="in implementation">knuminput.h</include> +</includes> </UI> diff --git a/kgantt/kgantt/xQGanttBarView.cpp b/kgantt/kgantt/xQGanttBarView.cpp index 60d25797..3e691c04 100644 --- a/kgantt/kgantt/xQGanttBarView.cpp +++ b/kgantt/kgantt/xQGanttBarView.cpp @@ -33,14 +33,14 @@ xQGanttBarView::xQGanttBarView(KGanttItem* toplevelitem, _viewport->setMode(xQGanttBarViewPort::Select); - connect(_viewport, TQT_SIGNAL(scroll(int,int)), - this, TQT_SLOT(scrollBy(int,int)) ); + connect(_viewport, TQ_SIGNAL(scroll(int,int)), + this, TQ_SLOT(scrollBy(int,int)) ); - connect(_viewport, TQT_SIGNAL(recalculated()), - this, TQT_SLOT(drawHeader()) ); + connect(_viewport, TQ_SIGNAL(recalculated()), + this, TQ_SLOT(drawHeader()) ); - connect(horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(horizontalScrollBarChanged(int)) ); + connect(horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(horizontalScrollBarChanged(int)) ); } diff --git a/kgantt/kgantt/xQGanttBarView.h b/kgantt/kgantt/xQGanttBarView.h index bec47a61..c1f4b1ba 100644 --- a/kgantt/kgantt/xQGanttBarView.h +++ b/kgantt/kgantt/xQGanttBarView.h @@ -51,7 +51,7 @@ class xQGanttBarView : public TQScrollView ////////////////////////////////////////// { - Q_OBJECT + TQ_OBJECT diff --git a/kgantt/kgantt/xQGanttBarViewPort.cpp b/kgantt/kgantt/xQGanttBarViewPort.cpp index 2c3a348e..5aca74c9 100644 --- a/kgantt/kgantt/xQGanttBarViewPort.cpp +++ b/kgantt/kgantt/xQGanttBarViewPort.cpp @@ -52,8 +52,8 @@ xQGanttBarViewPort::xQGanttBarViewPort(KGanttItem* toplevelitem, _itemTextEdit->hide(); _itemTextEdit->setFrame(false); - connect(_itemTextEdit, TQT_SIGNAL(returnPressed ()), - this, TQT_SLOT(textEdited())); + connect(_itemTextEdit, TQ_SIGNAL(returnPressed ()), + this, TQ_SLOT(textEdited())); _iconloader = new TDEIconLoader(); @@ -83,12 +83,12 @@ xQGanttBarViewPort::xQGanttBarViewPort(KGanttItem* toplevelitem, _cursor_lupe = new TQCursor( TQPixmap(lupe) ); - connect(_toplevelitem, TQT_SIGNAL(changed(KGanttItem*, KGanttItem::Change)), - this, TQT_SLOT(toplevelitemChanged(KGanttItem*, KGanttItem::Change)) ); + connect(_toplevelitem, TQ_SIGNAL(changed(KGanttItem*, KGanttItem::Change)), + this, TQ_SLOT(toplevelitemChanged(KGanttItem*, KGanttItem::Change)) ); recalc(); adjustSize(); - setFocusPolicy(TQ_StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); _mode = Init; } @@ -116,8 +116,8 @@ xQGanttBarViewPort::toolbar(TQMainWindow* mw) _toolbar->insertButton("ganttSelect.png", 0, - TQT_SIGNAL(clicked()), - TQT_TQOBJECT(this), TQT_SLOT(setSelect()), + TQ_SIGNAL(clicked()), + this, TQ_SLOT(setSelect()), true, i18n("Select") ); TDEPopupMenu *selectMenu = new TDEPopupMenu(_toolbar); @@ -128,7 +128,7 @@ xQGanttBarViewPort::toolbar(TQMainWindow* mw) */ TQPixmap pix = _iconloader->loadIcon("ganttSelecttask.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("ganttSelecttask.png not found !\n"); - selectMenu->insertItem(pix, i18n("Select All"), TQT_TQOBJECT(this), TQT_SLOT(selectAll()) ); + selectMenu->insertItem(pix, i18n("Select All"), this, TQ_SLOT(selectAll()) ); /* @@ -136,7 +136,7 @@ xQGanttBarViewPort::toolbar(TQMainWindow* mw) */ pix = _iconloader->loadIcon("ganttUnselecttask", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("ganttUnselecttask.png not found !\n"); - selectMenu->insertItem(pix, i18n("Unselect All"), TQT_TQOBJECT(this), TQT_SLOT(unselectAll()) ); + selectMenu->insertItem(pix, i18n("Unselect All"), this, TQ_SLOT(unselectAll()) ); TDEToolBarButton* b = _toolbar->getButton(0); @@ -144,31 +144,31 @@ xQGanttBarViewPort::toolbar(TQMainWindow* mw) _toolbar->insertButton("viewmag.png", 1, - TQT_SIGNAL(clicked()), - TQT_TQOBJECT(this), TQT_SLOT(setZoom()), + TQ_SIGNAL(clicked()), + this, TQ_SLOT(setZoom()), true, i18n("Zoom") ); TDEPopupMenu* zoomMenu = new TDEPopupMenu(_toolbar); pix = _iconloader->loadIcon("viewmag.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("viewmag.png not found !\n"); - zoomMenu->insertItem(pix, i18n("Zoom All"), TQT_TQOBJECT(this), TQT_SLOT(zoomAll()) ); + zoomMenu->insertItem(pix, i18n("Zoom All"), this, TQ_SLOT(zoomAll()) ); zoomMenu->insertSeparator(); pix = _iconloader->loadIcon("viewmag+.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("viewmag+.png not found !\n"); - zoomMenu->insertItem(pix, i18n("Zoom In +"), TQT_TQOBJECT(this), TQT_SLOT(zoomIn()) ); + zoomMenu->insertItem(pix, i18n("Zoom In +"), this, TQ_SLOT(zoomIn()) ); pix = _iconloader->loadIcon("viewmag-.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("viewmag-.png not found !\n"); - zoomMenu->insertItem(pix, i18n("Zoom Out -"), TQT_TQOBJECT(this), TQT_SLOT(zoomOut()) ); + zoomMenu->insertItem(pix, i18n("Zoom Out -"), this, TQ_SLOT(zoomOut()) ); b = _toolbar->getButton(1); b->setDelayedPopup(zoomMenu); _toolbar->insertButton("move.png", 2, - TQT_SIGNAL(clicked()), - TQT_TQOBJECT(this), TQT_SLOT(setMove()), + TQ_SIGNAL(clicked()), + this, TQ_SLOT(setMove()), true, i18n("Move") ); return _toolbar; @@ -191,17 +191,17 @@ xQGanttBarViewPort::initMenu() TQPixmap pix = _iconloader->loadIcon("ganttSelect.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("ganttSelect.png not found !\n"); - _selectMenu->insertItem(pix, i18n("Select Mode"), this, TQT_SLOT(setSelect())); + _selectMenu->insertItem(pix, i18n("Select Mode"), this, TQ_SLOT(setSelect())); _selectMenu->insertSeparator(); pix = _iconloader->loadIcon("ganttSelecttask.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("ganttSelecttask.png not found !\n"); - _selectMenu->insertItem(pix, i18n("Select All"), this, TQT_SLOT(selectAll()) ); + _selectMenu->insertItem(pix, i18n("Select All"), this, TQ_SLOT(selectAll()) ); pix = _iconloader->loadIcon("ganttUnselecttask", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("ganttUnselecttask.png not found !\n"); - _selectMenu->insertItem(pix, i18n("Unselect All"), this, TQT_SLOT(unselectAll()) ); + _selectMenu->insertItem(pix, i18n("Unselect All"), this, TQ_SLOT(unselectAll()) ); _menu->insertItem( i18n("Select"), _selectMenu); @@ -214,32 +214,32 @@ xQGanttBarViewPort::initMenu() pix = _iconloader->loadIcon("viewmag.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("viewmag.png not found !\n"); - _zoomMenu->insertItem(i18n("Zoom Mode"), this, TQT_SLOT(setZoom()) ); + _zoomMenu->insertItem(i18n("Zoom Mode"), this, TQ_SLOT(setZoom()) ); _zoomMenu->insertSeparator(); - _zoomMenu->insertItem(pix, i18n("Zoom All"), this, TQT_SLOT(zoomAll()) ); + _zoomMenu->insertItem(pix, i18n("Zoom All"), this, TQ_SLOT(zoomAll()) ); _zoomMenu->insertSeparator(); pix = _iconloader->loadIcon("viewmag+.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("viewmag+.png not found !\n"); - _zoomMenu->insertItem(pix, i18n("Zoom In +"), this, TQT_SLOT(zoomIn()) ); + _zoomMenu->insertItem(pix, i18n("Zoom In +"), this, TQ_SLOT(zoomIn()) ); pix = _iconloader->loadIcon("viewmag-.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("viewmag-.png not found !\n"); - _zoomMenu->insertItem(pix, i18n("Zoom Out -"), this, TQT_SLOT(zoomOut()) ); + _zoomMenu->insertItem(pix, i18n("Zoom Out -"), this, TQ_SLOT(zoomOut()) ); _menu->insertItem( "Zoom", _zoomMenu); pix = _iconloader->loadIcon("move.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("move.png not found !\n"); - _menu->insertItem(pix, i18n("Move Mode"), this, TQT_SLOT(setMove()) ); + _menu->insertItem(pix, i18n("Move Mode"), this, TQ_SLOT(setMove()) ); _menu->insertSeparator(); pix = _iconloader->loadIcon("configure.png", TDEIcon::Toolbar , 16 ); if(pix.isNull()) printf("configure.png not found !\n"); - _menu->insertItem(pix, i18n("Configure Gantt..."), _parent, TQT_SLOT(showConfig())); + _menu->insertItem(pix, i18n("Configure Gantt..."), _parent, TQ_SLOT(showConfig())); } @@ -1017,8 +1017,8 @@ xQGanttBarViewPort::deleteSelectedItems() #ifdef _DEBUG_ printf(" : %s \n", subitem->getText().latin1() ); #endif - connect(subitem, TQT_SIGNAL(destroyed(KGanttItem*)), - this, TQT_SLOT(itemDestroyed(KGanttItem*))); + connect(subitem, TQ_SIGNAL(destroyed(KGanttItem*)), + this, TQ_SLOT(itemDestroyed(KGanttItem*))); } list.remove(_toplevelitem); diff --git a/kgantt/kgantt/xQGanttBarViewPort.h b/kgantt/kgantt/xQGanttBarViewPort.h index c78ffd5a..09054552 100644 --- a/kgantt/kgantt/xQGanttBarViewPort.h +++ b/kgantt/kgantt/xQGanttBarViewPort.h @@ -89,7 +89,7 @@ class KDE_EXPORT xQGanttBarViewPort : public TQFrame //////////////////////////////////////// { - Q_OBJECT + TQ_OBJECT friend class xQGanttBarView; diff --git a/kgantt/kgantt/xQGanttBarViewPort_Events.cpp b/kgantt/kgantt/xQGanttBarViewPort_Events.cpp index 52f017e2..94b59726 100644 --- a/kgantt/kgantt/xQGanttBarViewPort_Events.cpp +++ b/kgantt/kgantt/xQGanttBarViewPort_Events.cpp @@ -43,7 +43,7 @@ xQGanttBarViewPort::mousePressEvent(TQMouseEvent* e) _itemTextEdit->hide(); // right mousebutton & control -> popup menu - if(e->button() == Qt::RightButton && e->state() == ControlButton ) { + if(e->button() == TQt::RightButton && e->state() == ControlButton ) { _menu->popup(e->globalPos()); return; } @@ -64,7 +64,7 @@ xQGanttBarViewPort::mousePressEvent(TQMouseEvent* e) /* * edit text */ - if(e->button() == Qt::MidButton && _mode == Select) { + if(e->button() == TQt::MidButton && _mode == Select) { xTQTaskPosition* tp = _gItemList.find(_currentItem); TQPainter p(this); @@ -91,7 +91,7 @@ xQGanttBarViewPort::mousePressEvent(TQMouseEvent* e) /* * open/close item, move start, end, item */ - if(e->button() == Qt::LeftButton && _mode == Select) { + if(e->button() == TQt::LeftButton && _mode == Select) { _timediff = 0; @@ -210,21 +210,21 @@ xQGanttBarViewPort::mouseReleaseEvent(TQMouseEvent* e) if(!_Mousemoved) { - if(e->button() == Qt::LeftButton) + if(e->button() == TQt::LeftButton) zoom(1.4, e->x(), e->y() ); - if(e->button() == Qt::RightButton) + if(e->button() == TQt::RightButton) zoom(0.7, e->x(), e->y() ); - if(e->button() == Qt::MidButton) + if(e->button() == TQt::MidButton) zoomAll(); } else { - if(_currentMButton == Qt::LeftButton) { + if(_currentMButton == TQt::LeftButton) { TQPainter p(this); TQPen pen(DashLine); @@ -284,7 +284,7 @@ xQGanttBarViewPort::mouseMoveEvent(TQMouseEvent* e) case Select: { - if(_currentMButton == Qt::LeftButton && _currentItem) { + if(_currentMButton == TQt::LeftButton && _currentItem) { TQPainter p(this); p.setRasterOp(XorROP); @@ -442,7 +442,7 @@ xQGanttBarViewPort::mouseMoveEvent(TQMouseEvent* e) case Zoom: { - if(_currentMButton == Qt::LeftButton) { + if(_currentMButton == TQt::LeftButton) { static TQString strpos; diff --git a/kgantt/kgantt/xQGanttListView.h b/kgantt/kgantt/xQGanttListView.h index 34a89eb8..ec4f880a 100644 --- a/kgantt/kgantt/xQGanttListView.h +++ b/kgantt/kgantt/xQGanttListView.h @@ -48,7 +48,7 @@ class xQGanttListView : public TQScrollView ////////////////////////////////////////////// { - Q_OBJECT + TQ_OBJECT diff --git a/kgantt/kgantt/xQGanttListViewPort.cpp b/kgantt/kgantt/xQGanttListViewPort.cpp index d643fe8c..e12534ef 100644 --- a/kgantt/kgantt/xQGanttListViewPort.cpp +++ b/kgantt/kgantt/xQGanttListViewPort.cpp @@ -50,16 +50,16 @@ xQGanttListViewPort::setBarViewPort(xQGanttBarViewPort* v) printf("setBarViewPort()\n"); - connect(_barviewport, TQT_SIGNAL(resized()), - this, TQT_SLOT(barViewResized())); + connect(_barviewport, TQ_SIGNAL(resized()), + this, TQ_SLOT(barViewResized())); - connect(_barviewport, TQT_SIGNAL(recalculated()), - this, TQT_SLOT(update())); + connect(_barviewport, TQ_SIGNAL(recalculated()), + this, TQ_SLOT(update())); /* - connect(_barviewport, TQT_SIGNAL(contentsRepainted()), - this, TQT_SLOT(barViewRepainted())); + connect(_barviewport, TQ_SIGNAL(contentsRepainted()), + this, TQ_SLOT(barViewRepainted())); */ } diff --git a/kgantt/kgantt/xQGanttListViewPort.h b/kgantt/kgantt/xQGanttListViewPort.h index ee2f4924..1f937521 100644 --- a/kgantt/kgantt/xQGanttListViewPort.h +++ b/kgantt/kgantt/xQGanttListViewPort.h @@ -48,7 +48,7 @@ class xQGanttListViewPort : public TQFrame //////////////////////////////////////////// { - Q_OBJECT + TQ_OBJECT friend class xQGanttListView; @@ -114,7 +114,7 @@ protected: void mousePressEvent(TQMouseEvent* e) { - if(e->button() == Qt::RightButton && e->state() == ControlButton ) { + if(e->button() == TQt::RightButton && e->state() == ControlButton ) { _menu->popup(e->globalPos()); return; } |