summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/kasbar/kaspopup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/extensions/kasbar/kaspopup.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/extensions/kasbar/kaspopup.cpp')
-rw-r--r--kicker/extensions/kasbar/kaspopup.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kicker/extensions/kasbar/kaspopup.cpp b/kicker/extensions/kasbar/kaspopup.cpp
index 4407f2f48..7538dfbb2 100644
--- a/kicker/extensions/kasbar/kaspopup.cpp
+++ b/kicker/extensions/kasbar/kaspopup.cpp
@@ -51,7 +51,7 @@
/*
** Bug reports and questions can be sent to [email protected]
*/
-#include <qapplication.h>
+#include <tqapplication.h>
#include "kasitem.h"
#include "kasbar.h"
@@ -60,7 +60,7 @@
#include "kaspopup.moc"
KasPopup::KasPopup( KasItem *item, const char *name )
- : QHBox( 0, name, WStyle_Customize | WStyle_StaysOnTop | WStyle_Tool | WStyle_NoBorder | WX11BypassWM ),
+ : TQHBox( 0, name, WStyle_Customize | WStyle_StaysOnTop | WStyle_Tool | WStyle_NoBorder | WX11BypassWM ),
item_( item ),
kasbar_( item->kasbar() )
{
@@ -79,17 +79,17 @@ void KasPopup::show()
{
emit aboutToShow();
positionSelf();
- QWidget::show();
+ TQWidget::show();
emit shown();
}
-QPoint KasPopup::calcPosition( KasItem *item, int w, int h )
+TQPoint KasPopup::calcPosition( KasItem *item, int w, int h )
{
KasBar *kasbar = item->kasbar();
- QPoint pos = kasbar->itemPos( item );
+ TQPoint pos = kasbar->itemPos( item );
if ( ( pos.x() < 0 ) && ( pos.y() < 0 ) )
- return QPoint();
+ return TQPoint();
pos = kasbar->mapToGlobal( pos );
int x = pos.x();
@@ -114,7 +114,7 @@ QPoint KasPopup::calcPosition( KasItem *item, int w, int h )
y = y - h + kasbar->itemExtent();
}
- return QPoint( x, y );
+ return TQPoint( x, y );
}