diff options
Diffstat (limited to 'kicker/extensions/kasbar/kaspopup.cpp')
-rw-r--r-- | kicker/extensions/kasbar/kaspopup.cpp | 14 |
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 ); } |