diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/autotools/autotoolsaction.cpp | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/autotools/autotoolsaction.cpp')
-rw-r--r-- | buildtools/autotools/autotoolsaction.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/buildtools/autotools/autotoolsaction.cpp b/buildtools/autotools/autotoolsaction.cpp index b5191b37..2d336c9b 100644 --- a/buildtools/autotools/autotoolsaction.cpp +++ b/buildtools/autotools/autotoolsaction.cpp @@ -26,73 +26,73 @@ AutoToolsAction::~AutoToolsAction() AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( text, cut, receiver, slot, parent, name ) + KActionCollection* tqparent, const char* name ) +: KAction( text, cut, receiver, slot, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) + KActionCollection* tqparent, const char* name ) +: KAction( text, pix, cut, receiver, slot, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, const KShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) + KActionCollection* tqparent, const char* name ) +: KAction( text, pix, cut, receiver, slot, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const KGuiItem& item, const KShortcut & cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( item, cut, receiver, slot, parent, name ) + KActionCollection* tqparent, const char* name ) +: KAction( item, cut, receiver, slot, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut, - TQObject* parent, const char* name ) -: KAction( text, cut, parent, name ) + TQObject* tqparent, const char* name ) +: KAction( text, cut, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut, const TQObject* receiver, const char* slot, - TQObject* parent, const char* name ) -: KAction( text, cut, receiver, slot, parent, name ) + TQObject* tqparent, const char* name ) +: KAction( text, cut, receiver, slot, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, - const KShortcut& cut, TQObject* parent, const char* name ) -: KAction( text, pix, cut, parent, name ) + const KShortcut& cut, TQObject* tqparent, const char* name ) +: KAction( text, pix, cut, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, - const KShortcut& cut, TQObject* parent, const char* name ) -: KAction( text, pix, cut, parent, name ) + const KShortcut& cut, TQObject* tqparent, const char* name ) +: KAction( text, pix, cut, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, const TQObject* receiver, - const char* slot, TQObject* parent, const char * name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) + const char* slot, TQObject* tqparent, const char * name ) +: KAction( text, pix, cut, receiver, slot, tqparent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, const KShortcut & cut, const TQObject* receiver, - const char* slot, TQObject* parent, const char * name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) + const char* slot, TQObject* tqparent, const char * name ) +: KAction( text, pix, cut, receiver, slot, tqparent, name ) { } -AutoToolsAction::AutoToolsAction( TQObject * parent, const char * name ) -: KAction( parent, name ) +AutoToolsAction::AutoToolsAction( TQObject * tqparent, const char * name ) +: KAction( tqparent, name ) { } @@ -107,7 +107,7 @@ int AutoToolsAction::plug( TQWidget* w, int index ) if (kapp && !kapp->authorizeKAction(name())) return -1; - if ( ::qt_cast<TQToolButton*>( w ) ) + if ( ::tqqt_cast<TQToolButton*>( w ) ) { TQToolButton* tb = static_cast<TQToolButton*>( w ); connect( tb, TQT_SIGNAL( clicked() ), this, TQT_SLOT( activate() ) ); @@ -145,7 +145,7 @@ void AutoToolsAction::updateEnabled( int i ) { TQWidget* w = container( i ); - if ( ::qt_cast<TQToolButton*>( w ) ) + if ( ::tqqt_cast<TQToolButton*>( w ) ) static_cast<TQToolButton*>( w )->setEnabled( isEnabled() ); else KAction::updateEnabled( i ) ; |