summaryrefslogtreecommitdiffstats
path: root/kdeui/kpushbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/kpushbutton.cpp')
-rw-r--r--kdeui/kpushbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeui/kpushbutton.cpp b/kdeui/kpushbutton.cpp
index 52679c0e5..57011da3b 100644
--- a/kdeui/kpushbutton.cpp
+++ b/kdeui/kpushbutton.cpp
@@ -98,7 +98,7 @@ void KPushButton::init( const KGuiItem &item )
setIconSet( d->item.iconSet() );
- setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
+ tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
TQToolTip::add( this, item.toolTip() );
@@ -193,7 +193,7 @@ void KPushButton::mouseMoveEvent( TQMouseEvent *e )
return;
}
- if ( (e->state() & LeftButton) &&
+ if ( (e->state() & Qt::LeftButton) &&
(e->pos() - startPos).manhattanLength() >
KGlobalSettings::dndEventDelay() )
{