diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:59:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:59:16 -0600 |
commit | 08e6e3d01bc56d3b55c1512164f48d3db762bd53 (patch) | |
tree | 5280c4cb6c471a7f2d79e42246fdcda85cc4adfe /libk3b/tools/k3bradioaction.cpp | |
parent | f3e58cb8bdc777ffad67ac52847bb63c27e7e436 (diff) | |
download | k3b-08e6e3d01bc56d3b55c1512164f48d3db762bd53.tar.gz k3b-08e6e3d01bc56d3b55c1512164f48d3db762bd53.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'libk3b/tools/k3bradioaction.cpp')
-rw-r--r-- | libk3b/tools/k3bradioaction.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libk3b/tools/k3bradioaction.cpp b/libk3b/tools/k3bradioaction.cpp index 4293322..a70b5be 100644 --- a/libk3b/tools/k3bradioaction.cpp +++ b/libk3b/tools/k3bradioaction.cpp @@ -17,57 +17,57 @@ #include <ktoolbarbutton.h> -K3bRadioAction::K3bRadioAction( const TQString& text, const KShortcut& cut, +K3bRadioAction::K3bRadioAction( const TQString& text, const TDEShortcut& cut, TQObject* parent, const char* name ) - : KToggleAction( text, cut, parent, name ), + : TDEToggleAction( text, cut, parent, name ), m_alwaysEmit(false) { } -K3bRadioAction::K3bRadioAction( const TQString& text, const KShortcut& cut, +K3bRadioAction::K3bRadioAction( const TQString& text, const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name ) - : KToggleAction( text, cut, receiver, slot, parent, name ), + : TDEToggleAction( text, cut, receiver, slot, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const TQIconSet& pix, - const KShortcut& cut, + const TDEShortcut& cut, TQObject* parent, const char* name ) - : KToggleAction( text, pix, cut, parent, name ), + : TDEToggleAction( text, pix, cut, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const TQString& pix, - const KShortcut& cut, + const TDEShortcut& cut, TQObject* parent, const char* name ) - : KToggleAction( text, pix, cut, parent, name ), + : TDEToggleAction( text, pix, cut, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const TQIconSet& pix, - const KShortcut& cut, + const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name ) - : KToggleAction( text, pix, cut, receiver, slot, parent, name ), + : TDEToggleAction( text, pix, cut, receiver, slot, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const TQString& pix, - const KShortcut& cut, + const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name ) - : KToggleAction( text, pix, cut, receiver, slot, parent, name ), + : TDEToggleAction( text, pix, cut, receiver, slot, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( TQObject* parent, const char* name ) - : KToggleAction( parent, name ), + : TDEToggleAction( parent, name ), m_alwaysEmit(false) { } @@ -80,15 +80,15 @@ void K3bRadioAction::slotActivated() const TQObject *senderObj = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender())); - if ( !senderObj || !::tqqt_cast<const KToolBarButton *>( senderObj ) ) + if ( !senderObj || !::tqqt_cast<const TDEToolBarButton *>( senderObj ) ) return; - const_cast<KToolBarButton *>( static_cast<const KToolBarButton *>( TQT_TQWIDGET_CONST(senderObj) ) )->on( true ); + const_cast<TDEToolBarButton *>( static_cast<const TDEToolBarButton *>( TQT_TQWIDGET_CONST(senderObj) ) )->on( true ); return; } - KToggleAction::slotActivated(); + TDEToggleAction::slotActivated(); } #include "k3bradioaction.moc" |