summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kbutton_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/kbutton_impl.cpp')
-rw-r--r--arts/gui/kde/kbutton_impl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/arts/gui/kde/kbutton_impl.cpp b/arts/gui/kde/kbutton_impl.cpp
index 119e72e0..34c5791b 100644
--- a/arts/gui/kde/kbutton_impl.cpp
+++ b/arts/gui/kde/kbutton_impl.cpp
@@ -28,15 +28,15 @@
using namespace Arts;
using namespace std;
-KButtonMapper::KButtonMapper( KButton_impl *_impl, QPushButton *but )
- : QObject( but, "KButtonMapper" )
+KButtonMapper::KButtonMapper( KButton_impl *_impl, TQPushButton *but )
+ : TQObject( but, "KButtonMapper" )
, impl( _impl )
, button( but )
{
- connect( but, SIGNAL( pressed() ), this, SLOT( pressed() ) );
- connect( but, SIGNAL( released() ), this, SLOT( released() ) );
- connect( but, SIGNAL( toggled( bool ) ), this, SLOT( toggled( bool ) ) );
- connect( but, SIGNAL( clicked() ), this, SLOT( clicked() ) );
+ connect( but, TQT_SIGNAL( pressed() ), this, TQT_SLOT( pressed() ) );
+ connect( but, TQT_SIGNAL( released() ), this, TQT_SLOT( released() ) );
+ connect( but, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( toggled( bool ) ) );
+ connect( but, TQT_SIGNAL( clicked() ), this, TQT_SLOT( clicked() ) );
}
void KButtonMapper::pressed()
@@ -62,11 +62,11 @@ void KButtonMapper::clicked()
impl->emitClicked();
}
-KButton_impl::KButton_impl( QPushButton * widget )
- : KWidget_impl( widget ? widget : new QPushButton( 0 ) )
+KButton_impl::KButton_impl( TQPushButton * widget )
+ : KWidget_impl( widget ? widget : new TQPushButton( 0 ) )
, _clicked( false )
{
- _qpushbutton = static_cast<QPushButton*>( _qwidget );
+ _qpushbutton = static_cast<TQPushButton*>( _qwidget );
( void )new KButtonMapper( this, _qpushbutton );
}
@@ -94,7 +94,7 @@ string KButton_impl::text()
void KButton_impl::text(const string& newText)
{
- _qpushbutton->setText(QString::fromUtf8(newText.c_str()));
+ _qpushbutton->setText(TQString::fromUtf8(newText.c_str()));
}
bool KButton_impl::toggle()