summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/autotoolsaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools/autotoolsaction.cpp')
-rw-r--r--buildtools/autotools/autotoolsaction.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/buildtools/autotools/autotoolsaction.cpp b/buildtools/autotools/autotoolsaction.cpp
index 63b38762..b5191b37 100644
--- a/buildtools/autotools/autotoolsaction.cpp
+++ b/buildtools/autotools/autotoolsaction.cpp
@@ -13,9 +13,9 @@
*/
#include "autotoolsaction.h"
-#include <qtoolbutton.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
+#include <tqtoolbutton.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
#include <kapplication.h>
#include <kdebug.h>
#include <kiconloader.h>
@@ -24,79 +24,79 @@ AutoToolsAction::~AutoToolsAction()
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const KShortcut& cut,
- const QObject* receiver, const char* slot,
+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 )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const QIconSet& pix, const KShortcut& cut,
- const QObject* receiver, const char* slot,
+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 )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const QString& pix, const KShortcut& cut,
- const QObject* receiver, const char* slot,
+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 )
{
}
AutoToolsAction::AutoToolsAction( const KGuiItem& item, const KShortcut & cut,
- const QObject* receiver, const char* slot,
+ const TQObject* receiver, const char* slot,
KActionCollection* parent, const char* name )
: KAction( item, cut, receiver, slot, parent, name )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const KShortcut& cut,
- QObject* parent, const char* name )
+AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut,
+ TQObject* parent, const char* name )
: KAction( text, cut, parent, name )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const KShortcut& cut,
- const QObject* receiver, const char* slot,
- QObject* parent, const char* 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 )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const QIconSet& pix,
- const KShortcut& cut, QObject* parent, const char* name )
+AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix,
+ const KShortcut& cut, TQObject* parent, const char* name )
: KAction( text, pix, cut, parent, name )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const QString& pix,
- const KShortcut& cut, QObject* parent, const char* name )
+AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix,
+ const KShortcut& cut, TQObject* parent, const char* name )
: KAction( text, pix, cut, parent, name )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const QIconSet& pix,
- const KShortcut& cut, const QObject* receiver,
- const char* slot, QObject* parent, const char * 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 )
{
}
-AutoToolsAction::AutoToolsAction( const QString& text, const QString& pix,
- const KShortcut & cut, const QObject* receiver,
- const char* slot, QObject* parent, const char * 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 )
{
}
-AutoToolsAction::AutoToolsAction( QObject * parent, const char * name )
+AutoToolsAction::AutoToolsAction( TQObject * parent, const char * name )
: KAction( parent, name )
{
}
-int AutoToolsAction::plug( QWidget* w, int index )
+int AutoToolsAction::plug( TQWidget* w, int index )
{
if ( !w ) {
kdWarning(129) << "KAction::plug called with 0 argument\n";
@@ -107,10 +107,10 @@ int AutoToolsAction::plug( QWidget* w, int index )
if (kapp && !kapp->authorizeKAction(name()))
return -1;
- if ( ::qt_cast<QToolButton*>( w ) )
+ if ( ::qt_cast<TQToolButton*>( w ) )
{
- QToolButton* tb = static_cast<QToolButton*>( w );
- connect( tb, SIGNAL( clicked() ), this, SLOT( activate() ) );
+ TQToolButton* tb = static_cast<TQToolButton*>( w );
+ connect( tb, TQT_SIGNAL( clicked() ), this, TQT_SLOT( activate() ) );
int id = getToolButtonID();
if ( !icon().isEmpty() )
@@ -123,14 +123,14 @@ int AutoToolsAction::plug( QWidget* w, int index )
if ( !whatsThis().isEmpty() )
{
- QWhatsThis::remove( tb );
- QWhatsThis::add( tb, whatsThisWithIcon() );
+ TQWhatsThis::remove( tb );
+ TQWhatsThis::add( tb, whatsThisWithIcon() );
}
if ( !toolTip().isEmpty() )
{
- QToolTip::remove( tb );
- QToolTip::add( tb, toolTip() );
+ TQToolTip::remove( tb );
+ TQToolTip::add( tb, toolTip() );
}
addContainer( tb, id );
@@ -143,10 +143,10 @@ int AutoToolsAction::plug( QWidget* w, int index )
void AutoToolsAction::updateEnabled( int i )
{
- QWidget* w = container( i );
+ TQWidget* w = container( i );
- if ( ::qt_cast<QToolButton*>( w ) )
- static_cast<QToolButton*>( w )->setEnabled( isEnabled() );
+ if ( ::qt_cast<TQToolButton*>( w ) )
+ static_cast<TQToolButton*>( w )->setEnabled( isEnabled() );
else
KAction::updateEnabled( i ) ;
}