diff options
Diffstat (limited to 'kivio/kiviopart/stencilbardockmanager.cpp')
-rw-r--r-- | kivio/kiviopart/stencilbardockmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp index aa5c30c4..ecf923f9 100644 --- a/kivio/kiviopart/stencilbardockmanager.cpp +++ b/kivio/kiviopart/stencilbardockmanager.cpp @@ -179,7 +179,7 @@ void StencilBarDockManager::slotFinishDragPage( DragBarButton* ) KivioStackBar* bar = (KivioStackBar*)sender(); bar->removePage(dragWidget); - insertStencilSet(dragWidget,caption,dragPos,moveManager->geometry(),m_destinationBar); + insertStencilSet(dragWidget,caption,dragPos,moveManager->tqgeometry(),m_destinationBar); // remove KivioStackBar if no more pages if (!bar->visiblePage()) { @@ -205,13 +205,13 @@ void StencilBarDockManager::slotMoving() // check existing bars for ( KivioStackBar* bar = m_pBars.first(); bar; bar = m_pBars.next() ) { - if ( bar->geometry().contains(p) ) { + if ( bar->tqgeometry().contains(p) ) { if(bar->place() == TQDockWindow::OutsideDock) { dragPos = OnTopLevelBar; - globalPos = bar->geometry().topLeft(); + globalPos = bar->tqgeometry().topLeft(); } else { dragPos = AutoSelect; - globalPos = bar->mapToGlobal(bar->geometry().topLeft()); + globalPos = bar->mapToGlobal(bar->tqgeometry().topLeft()); } m_destinationBar = bar; @@ -219,7 +219,7 @@ void StencilBarDockManager::slotMoving() moveManager->setGeometry(globalPos.x(), moveManager->y(), bar->width(), - moveManager->getWidget()->sizeHint().height()); + moveManager->getWidget()->tqsizeHint().height()); return; } } @@ -556,8 +556,8 @@ void KoToolDockMoveManager::doResizeInternal() void KoToolDockMoveManager::setWidget( TQWidget* _w ) { widget = _w; - minSize = widget->minimumSize(); - maxSize = widget->maximumSize(); + minSize = widget->tqminimumSize(); + maxSize = widget->tqmaximumSize(); rr = TQRect(widget->mapToGlobal(TQPoint(0,0)),widget->size()); p = rr.topLeft(); @@ -631,7 +631,7 @@ bool KoToolDockMoveManager::check(int& x, int& y, int& w, int& h, bool change) return f1&&f2; } -TQRect KoToolDockMoveManager::geometry() +TQRect KoToolDockMoveManager::tqgeometry() { int x0 = xp; int y0 = yp; |