diff options
Diffstat (limited to 'kivio/kiviopart/tools/mousetoolaction.cpp')
-rw-r--r-- | kivio/kiviopart/tools/mousetoolaction.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kivio/kiviopart/tools/mousetoolaction.cpp b/kivio/kiviopart/tools/mousetoolaction.cpp index 546c5634..26238213 100644 --- a/kivio/kiviopart/tools/mousetoolaction.cpp +++ b/kivio/kiviopart/tools/mousetoolaction.cpp @@ -24,51 +24,51 @@ namespace Kivio { -MouseToolAction::MouseToolAction(const QString& text, const KShortcut& cut, - QObject* parent, const char* name) - : KRadioAction(text, cut, parent, name) +MouseToolAction::MouseToolAction(const TQString& text, const KShortcut& cut, + TQObject* tqparent, const char* name) + : KRadioAction(text, cut, tqparent, name) { } -MouseToolAction::MouseToolAction(const QString& text, const KShortcut& cut, - const QObject* receiver, const char* slot, - QObject* parent, const char* name) - : KRadioAction(text, cut, receiver, slot, parent, name) +MouseToolAction::MouseToolAction(const TQString& text, const KShortcut& cut, + const TQObject* receiver, const char* slot, + TQObject* tqparent, const char* name) + : KRadioAction(text, cut, receiver, slot, tqparent, name) { } -MouseToolAction::MouseToolAction(const QString& text, const QIconSet& pix, +MouseToolAction::MouseToolAction(const TQString& text, const TQIconSet& pix, const KShortcut& cut, - QObject* parent, const char* name) - : KRadioAction(text, pix, cut, parent, name) + TQObject* tqparent, const char* name) + : KRadioAction(text, pix, cut, tqparent, name) { } -MouseToolAction::MouseToolAction(const QString& text, const QString& pix, +MouseToolAction::MouseToolAction(const TQString& text, const TQString& pix, const KShortcut& cut, - QObject* parent, const char* name) - : KRadioAction(text, pix, cut, parent, name) + TQObject* tqparent, const char* name) + : KRadioAction(text, pix, cut, tqparent, name) { } -MouseToolAction::MouseToolAction(const QString& text, const QIconSet& pix, +MouseToolAction::MouseToolAction(const TQString& text, const TQIconSet& pix, const KShortcut& cut, - const QObject* receiver, const char* slot, - QObject* parent, const char* name) - : KRadioAction(text, pix, cut, receiver, slot, parent, name) + const TQObject* receiver, const char* slot, + TQObject* tqparent, const char* name) + : KRadioAction(text, pix, cut, receiver, slot, tqparent, name) { } -MouseToolAction::MouseToolAction(const QString& text, const QString& pix, +MouseToolAction::MouseToolAction(const TQString& text, const TQString& pix, const KShortcut& cut, - const QObject* receiver, const char* slot, - QObject* parent, const char* name) - : KRadioAction(text, pix, cut, receiver, slot, parent, name) + const TQObject* receiver, const char* slot, + TQObject* tqparent, const char* name) + : KRadioAction(text, pix, cut, receiver, slot, tqparent, name) { } -MouseToolAction::MouseToolAction(QObject* parent, const char* name) - : KRadioAction(parent, name) +MouseToolAction::MouseToolAction(TQObject* tqparent, const char* name) + : KRadioAction(tqparent, name) { } @@ -76,7 +76,7 @@ MouseToolAction::~MouseToolAction() { } -int MouseToolAction::plug(QWidget* widget, int index) +int MouseToolAction::plug(TQWidget* widget, int index) { int usedIndex = KRadioAction::plug(widget, index); @@ -84,10 +84,10 @@ int MouseToolAction::plug(QWidget* widget, int index) return usedIndex; } - if(::qt_cast<KToolBar*>(widget)) { + if(::tqqt_cast<KToolBar*>(widget)) { KToolBar* toolBar = static_cast<KToolBar*>(widget); KToolBarButton* button = toolBar->getButton(itemId(usedIndex)); - connect(button, SIGNAL(doubleClicked(int)), this, SIGNAL(doubleClicked())); + connect(button, TQT_SIGNAL(doubleClicked(int)), this, TQT_SIGNAL(doubleClicked())); } return usedIndex; |