diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/gui/kde/kbutton_impl.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/gui/kde/kbutton_impl.cpp')
-rw-r--r-- | arts/gui/kde/kbutton_impl.cpp | 20 |
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() |