From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker/extensions/kasbar/kaspopup.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kicker/extensions/kasbar/kaspopup.cpp') 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 kde-devel@kde.org */ -#include +#include #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 ); } -- cgit v1.2.1