summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/kasbar/kasitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/extensions/kasbar/kasitem.cpp')
-rw-r--r--kicker/extensions/kasbar/kasitem.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kicker/extensions/kasbar/kasitem.cpp b/kicker/extensions/kasbar/kasitem.cpp
index 2523ef18c..a95dac049 100644
--- a/kicker/extensions/kasbar/kasitem.cpp
+++ b/kicker/extensions/kasbar/kasitem.cpp
@@ -94,8 +94,8 @@ KasItem::KasItem( KasBar *parent )
frame(true), modified(false), attention_(false), prog( -1 ),
anim(), aniFrame( 0 ), drawAnim( false )
{
- connect( parent, TQT_SIGNAL( dragStarted() ), TQT_SLOT( hidePopup() ) );
- connect( this, TQT_SIGNAL( middleButtonClicked(TQMouseEvent *) ), parent, TQT_SLOT( toggleOrientation() ) );
+ connect( parent, TQ_SIGNAL( dragStarted() ), TQ_SLOT( hidePopup() ) );
+ connect( this, TQ_SIGNAL( middleButtonClicked(TQMouseEvent *) ), parent, TQ_SLOT( toggleOrientation() ) );
}
KasItem::~KasItem()
@@ -169,7 +169,7 @@ void KasItem::mouseEnter()
if ( (!customPopup) && (popupTimer == 0) ) {
popupTimer = new TQTimer( this, "popupTimer" );
- connect( popupTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( showPopup() ) );
+ connect( popupTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( showPopup() ) );
popupTimer->start( POPUP_DELAY, true );
}
@@ -179,11 +179,11 @@ void KasItem::mouseEnter()
void KasItem::mouseReleaseEvent( TQMouseEvent *ev )
{
- if ( ev->button() == Qt::LeftButton )
+ if ( ev->button() == TQt::LeftButton )
emit leftButtonClicked( ev );
- else if ( ev->button() == Qt::RightButton )
+ else if ( ev->button() == TQt::RightButton )
emit rightButtonClicked( ev );
- else if ( ev->button() == Qt::MidButton )
+ else if ( ev->button() == TQt::MidButton )
emit middleButtonClicked( ev );
}
@@ -205,7 +205,7 @@ void KasItem::checkPopup()
hidePopup();
}
else {
- TQTimer::singleShot( KASITEM_CHECK_POPUP_DELAY, this, TQT_SLOT( checkPopup() ) );
+ TQTimer::singleShot( KASITEM_CHECK_POPUP_DELAY, this, TQ_SLOT( checkPopup() ) );
}
}
@@ -215,7 +215,7 @@ void KasItem::dragEnter()
if ( dragTimer == 0 ) {
dragTimer = new TQTimer( this, "dragTimer" );
- connect( dragTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( dragOverAction() ) );
+ connect( dragTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( dragOverAction() ) );
dragTimer->start( DRAG_SWITCH_DELAY, true );
}
@@ -268,7 +268,7 @@ void KasItem::showPopup()
pop->show();
update();
- TQTimer::singleShot( KASITEM_CHECK_POPUP_DELAY, this, TQT_SLOT( checkPopup() ) );
+ TQTimer::singleShot( KASITEM_CHECK_POPUP_DELAY, this, TQ_SLOT( checkPopup() ) );
}
void KasItem::hidePopup()
@@ -312,13 +312,13 @@ void KasItem::paintFrame( TQPainter *p )
p->drawRect( 0, 0, extent(), extent());
}
else {
- pen = TQPen( Qt::white );
+ pen = TQPen( TQt::white );
p->setPen( pen );
p->drawRect(0, 0, extent(), extent());
}
}
else if ( kas->paintInactiveFrames() ) {
- p->setPen( attention_ ? resources()->attentionColor() : Qt::black );
+ p->setPen( attention_ ? resources()->attentionColor() : TQt::black );
p->drawRect(0, 0, extent(), extent());
}
}