diff options
Diffstat (limited to 'parts/uimode')
-rw-r--r-- | parts/uimode/uichooser_part.cpp | 12 | ||||
-rw-r--r-- | parts/uimode/uichooser_part.h | 4 | ||||
-rw-r--r-- | parts/uimode/uichooser_widget.cpp | 8 | ||||
-rw-r--r-- | parts/uimode/uichooser_widget.h | 6 |
4 files changed, 15 insertions, 15 deletions
diff --git a/parts/uimode/uichooser_part.cpp b/parts/uimode/uichooser_part.cpp index 914c03ba..855f4daf 100644 --- a/parts/uimode/uichooser_part.cpp +++ b/parts/uimode/uichooser_part.cpp @@ -1,6 +1,6 @@ #include "uichooser_part.h" -#include <qvbox.h> +#include <tqvbox.h> #include <kdialogbase.h> #include <kdevgenericfactory.h> @@ -18,15 +18,15 @@ typedef KDevGenericFactory<UIChooserPart> UIChooserFactory; static const KDevPluginInfo data("kdevuichooser"); K_EXPORT_COMPONENT_FACTORY( libkdevuichooser, UIChooserFactory( data ) ) -UIChooserPart::UIChooserPart(QObject *parent, const char *name, const QStringList &) +UIChooserPart::UIChooserPart(TQObject *parent, const char *name, const TQStringList &) : KDevPlugin( &data, parent, name ? name : "UIChooserPart") { setInstance(UIChooserFactory::instance()); _configProxy = new ConfigWidgetProxy( core() ); _configProxy->createGlobalConfigPage( i18n("User Interface"), UICHOOSERSETTINGSPAGE, info()->icon() ); - connect( _configProxy, SIGNAL(insertConfigWidget(const KDialogBase*, QWidget*, unsigned int )), - this, SLOT(insertConfigWidget(const KDialogBase*, QWidget*, unsigned int )) ); + connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )), + this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) ); } @@ -35,14 +35,14 @@ UIChooserPart::~UIChooserPart() delete _configProxy; } -void UIChooserPart::insertConfigWidget( const KDialogBase * dlg, QWidget * page, unsigned int pagenumber ) +void UIChooserPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, unsigned int pagenumber ) { kdDebug() << k_funcinfo << endl; if ( pagenumber == UICHOOSERSETTINGSPAGE ) { UIChooserWidget * w = new UIChooserWidget( this, page, "UIChooser widget" ); - connect( dlg, SIGNAL(okClicked()), w, SLOT(accept()) ); + connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); } } diff --git a/parts/uimode/uichooser_part.h b/parts/uimode/uichooser_part.h index e4633441..5f0826fa 100644 --- a/parts/uimode/uichooser_part.h +++ b/parts/uimode/uichooser_part.h @@ -17,11 +17,11 @@ class UIChooserPart : public KDevPlugin Q_OBJECT public: - UIChooserPart(QObject *parent, const char *name, const QStringList &); + UIChooserPart(TQObject *parent, const char *name, const TQStringList &); ~UIChooserPart(); private slots: - void insertConfigWidget( const KDialogBase * dlg, QWidget * page, unsigned int ); + void insertConfigWidget( const KDialogBase * dlg, TQWidget * page, unsigned int ); private: ConfigWidgetProxy * _configProxy; diff --git a/parts/uimode/uichooser_widget.cpp b/parts/uimode/uichooser_widget.cpp index 5e6ffbf7..2fe6b919 100644 --- a/parts/uimode/uichooser_widget.cpp +++ b/parts/uimode/uichooser_widget.cpp @@ -15,9 +15,9 @@ * * ***************************************************************************/ -#include <qradiobutton.h> -#include <qbuttongroup.h> -#include <qcheckbox.h> +#include <tqradiobutton.h> +#include <tqbuttongroup.h> +#include <tqcheckbox.h> #include <kapplication.h> #include <kconfig.h> #include <kdebug.h> @@ -27,7 +27,7 @@ #include "kdevmainwindow.h" #include "uichooser_widget.h" -UIChooserWidget::UIChooserWidget( UIChooserPart * part, QWidget *parent, const char *name) +UIChooserWidget::UIChooserWidget( UIChooserPart * part, TQWidget *parent, const char *name) : UIChooser(parent, name) ,m_part(part), _lastMode(0L) { diff --git a/parts/uimode/uichooser_widget.h b/parts/uimode/uichooser_widget.h index 5faba3af..e9f7a7ed 100644 --- a/parts/uimode/uichooser_widget.h +++ b/parts/uimode/uichooser_widget.h @@ -2,7 +2,7 @@ #define __UICHOOSER_WIDGET_H__ -#include <qwidget.h> +#include <tqwidget.h> #include "uichooser.h" @@ -20,7 +20,7 @@ public: _NeverShowTabs = 2 }; - UIChooserWidget( UIChooserPart * part, QWidget *parent=0, const char *name=0 ); + UIChooserWidget( UIChooserPart * part, TQWidget *parent=0, const char *name=0 ); public slots: void accept(); @@ -35,7 +35,7 @@ private slots: private: UIChooserPart* m_part; - QWidget * _lastMode; + TQWidget * _lastMode; }; |