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 ecf923f9..aa5c30c4 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->tqgeometry(),m_destinationBar); + insertStencilSet(dragWidget,caption,dragPos,moveManager->geometry(),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->tqgeometry().contains(p) ) { + if ( bar->geometry().contains(p) ) { if(bar->place() == TQDockWindow::OutsideDock) { dragPos = OnTopLevelBar; - globalPos = bar->tqgeometry().topLeft(); + globalPos = bar->geometry().topLeft(); } else { dragPos = AutoSelect; - globalPos = bar->mapToGlobal(bar->tqgeometry().topLeft()); + globalPos = bar->mapToGlobal(bar->geometry().topLeft()); } m_destinationBar = bar; @@ -219,7 +219,7 @@ void StencilBarDockManager::slotMoving() moveManager->setGeometry(globalPos.x(), moveManager->y(), bar->width(), - moveManager->getWidget()->tqsizeHint().height()); + moveManager->getWidget()->sizeHint().height()); return; } } @@ -556,8 +556,8 @@ void KoToolDockMoveManager::doResizeInternal() void KoToolDockMoveManager::setWidget( TQWidget* _w ) { widget = _w; - minSize = widget->tqminimumSize(); - maxSize = widget->tqmaximumSize(); + minSize = widget->minimumSize(); + maxSize = widget->maximumSize(); 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::tqgeometry() +TQRect KoToolDockMoveManager::geometry() { int x0 = xp; int y0 = yp; |