summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencilbardockmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kivio/kiviopart/stencilbardockmanager.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kivio/kiviopart/stencilbardockmanager.cpp')
-rw-r--r--kivio/kiviopart/stencilbardockmanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp
index 74ae5d2a..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;
@@ -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;