diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/uimode | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; |