diff options
Diffstat (limited to 'kivio/kiviopart/tools/mousetoolaction.cpp')
-rw-r--r-- | kivio/kiviopart/tools/mousetoolaction.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kivio/kiviopart/tools/mousetoolaction.cpp b/kivio/kiviopart/tools/mousetoolaction.cpp index e46e522c..b49baace 100644 --- a/kivio/kiviopart/tools/mousetoolaction.cpp +++ b/kivio/kiviopart/tools/mousetoolaction.cpp @@ -24,51 +24,51 @@ namespace Kivio { -MouseToolAction::MouseToolAction(const TQString& text, const KShortcut& cut, +MouseToolAction::MouseToolAction(const TQString& text, const TDEShortcut& cut, TQObject* parent, const char* name) - : KRadioAction(text, cut, parent, name) + : TDERadioAction(text, cut, parent, name) { } -MouseToolAction::MouseToolAction(const TQString& text, const KShortcut& cut, +MouseToolAction::MouseToolAction(const TQString& text, const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name) - : KRadioAction(text, cut, receiver, slot, parent, name) + : TDERadioAction(text, cut, receiver, slot, parent, name) { } MouseToolAction::MouseToolAction(const TQString& text, const TQIconSet& pix, - const KShortcut& cut, + const TDEShortcut& cut, TQObject* parent, const char* name) - : KRadioAction(text, pix, cut, parent, name) + : TDERadioAction(text, pix, cut, parent, name) { } MouseToolAction::MouseToolAction(const TQString& text, const TQString& pix, - const KShortcut& cut, + const TDEShortcut& cut, TQObject* parent, const char* name) - : KRadioAction(text, pix, cut, parent, name) + : TDERadioAction(text, pix, cut, parent, name) { } MouseToolAction::MouseToolAction(const TQString& text, const TQIconSet& pix, - const KShortcut& cut, + const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name) - : KRadioAction(text, pix, cut, receiver, slot, parent, name) + : TDERadioAction(text, pix, cut, receiver, slot, parent, name) { } MouseToolAction::MouseToolAction(const TQString& text, const TQString& pix, - const KShortcut& cut, + const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name) - : KRadioAction(text, pix, cut, receiver, slot, parent, name) + : TDERadioAction(text, pix, cut, receiver, slot, parent, name) { } MouseToolAction::MouseToolAction(TQObject* parent, const char* name) - : KRadioAction(parent, name) + : TDERadioAction(parent, name) { } @@ -78,15 +78,15 @@ MouseToolAction::~MouseToolAction() int MouseToolAction::plug(TQWidget* widget, int index) { - int usedIndex = KRadioAction::plug(widget, index); + int usedIndex = TDERadioAction::plug(widget, index); if(usedIndex == -1) { return usedIndex; } - if(::tqqt_cast<KToolBar*>(widget)) { - KToolBar* toolBar = static_cast<KToolBar*>(widget); - KToolBarButton* button = toolBar->getButton(itemId(usedIndex)); + if(::tqqt_cast<TDEToolBar*>(widget)) { + TDEToolBar* toolBar = static_cast<TDEToolBar*>(widget); + TDEToolBarButton* button = toolBar->getButton(itemId(usedIndex)); connect(button, TQT_SIGNAL(doubleClicked(int)), this, TQT_SIGNAL(doubleClicked())); } |