summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/kasbar/kaspopup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /kicker/extensions/kasbar/kaspopup.cpp
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/extensions/kasbar/kaspopup.cpp')
-rw-r--r--kicker/extensions/kasbar/kaspopup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kicker/extensions/kasbar/kaspopup.cpp b/kicker/extensions/kasbar/kaspopup.cpp
index 9dfe480f2..7538dfbb2 100644
--- a/kicker/extensions/kasbar/kaspopup.cpp
+++ b/kicker/extensions/kasbar/kaspopup.cpp
@@ -96,21 +96,21 @@ TQPoint KasPopup::calcPosition( KasItem *item, int w, int h )
int y = pos.y();
if ( kasbar->orientation() == Horizontal ) {
- if ( y < ( tqApp->desktop()->height() / 2 ) )
+ if ( y < ( qApp->desktop()->height() / 2 ) )
y = y + kasbar->itemExtent();
else
y = y - h;
- if ( (x + w) > tqApp->desktop()->width() )
+ if ( (x + w) > qApp->desktop()->width() )
x = x - w + kasbar->itemExtent();
}
else {
- if ( x < ( tqApp->desktop()->width() / 2 ) )
+ if ( x < ( qApp->desktop()->width() / 2 ) )
x = x + kasbar->itemExtent();
else
x = x - w;
- if ( (y + h) > tqApp->desktop()->height() )
+ if ( (y + h) > qApp->desktop()->height() )
y = y - h + kasbar->itemExtent();
}