summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencilbardockmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/stencilbardockmanager.cpp')
-rw-r--r--kivio/kiviopart/stencilbardockmanager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp
index a0dca0ee..d0121dd0 100644
--- a/kivio/kiviopart/stencilbardockmanager.cpp
+++ b/kivio/kiviopart/stencilbardockmanager.cpp
@@ -183,7 +183,7 @@ void StencilBarDockManager::slotFinishDragPage( DragBarButton* )
// remove KivioStackBar if no more pages
if (!bar->visiblePage()) {
- int k = m_pBars.tqfindRef(bar);
+ int k = m_pBars.findRef(bar);
if ( k!= -1 ) {
m_pBars.remove(k);
@@ -205,7 +205,7 @@ void StencilBarDockManager::slotMoving()
// check existing bars
for ( KivioStackBar* bar = m_pBars.first(); bar; bar = m_pBars.next() ) {
- if ( bar->tqgeometry().tqcontains(p) ) {
+ if ( bar->tqgeometry().contains(p) ) {
if(bar->place() == TQDockWindow::OutsideDock) {
dragPos = OnTopLevelBar;
globalPos = bar->tqgeometry().topLeft();
@@ -227,10 +227,10 @@ void StencilBarDockManager::slotMoving()
// check "on mainView"
TQRect mr(m_pView->mapToGlobal(TQPoint(0,0)),m_pView->size());
- if ( mr.tqcontains(p) ) {
+ if ( mr.contains(p) ) {
TQRect r(mr);
r.setWidth(r.width()/4);
- if ( r.tqcontains(p) && !m_pBars.at(Left) ) {
+ if ( r.contains(p) && !m_pBars.at(Left) ) {
moveManager->movePause();
moveManager->setGeometry(r);
dragPos = Left;
@@ -239,7 +239,7 @@ void StencilBarDockManager::slotMoving()
r.moveBy(r.width()*3,0);
- if ( r.tqcontains(p) && !m_pBars.at(Right) ) {
+ if ( r.contains(p) && !m_pBars.at(Right) ) {
moveManager->movePause();
moveManager->setGeometry(r);
dragPos = Right;
@@ -249,7 +249,7 @@ void StencilBarDockManager::slotMoving()
TQRect t(mr);
t.setHeight(t.height()/4);
- if ( t.tqcontains(p) && !m_pBars.at(Top) ) {
+ if ( t.contains(p) && !m_pBars.at(Top) ) {
moveManager->movePause();
moveManager->setGeometry(t);
dragPos = Top;
@@ -258,7 +258,7 @@ void StencilBarDockManager::slotMoving()
t.moveBy(0,t.height()*3);
- if ( t.tqcontains(p) && !m_pBars.at(Bottom) ) {
+ if ( t.contains(p) && !m_pBars.at(Bottom) ) {
moveManager->movePause();
moveManager->setGeometry(t);
dragPos = Bottom;
@@ -278,7 +278,7 @@ void StencilBarDockManager::slotDeleteStencilSet( DragBarButton* pBtn, TQWidget
// remove KivioStackBar if no more pages
if (!pBar->visiblePage()) {
- int k = m_pBars.tqfindRef(pBar);
+ int k = m_pBars.findRef(pBar);
if ( k!= -1 ) {
m_pBars.remove(k);