diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kcmodule.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kcmodule.cpp')
-rw-r--r-- | kdeui/kcmodule.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdeui/kcmodule.cpp b/kdeui/kcmodule.cpp index 43b2cdd95..0c26d11ec 100644 --- a/kdeui/kcmodule.cpp +++ b/kdeui/kcmodule.cpp @@ -21,7 +21,7 @@ */ -#include <qlayout.h> +#include <tqlayout.h> #include <kaboutdata.h> #include <kconfigskeleton.h> @@ -46,11 +46,11 @@ public: KInstance *_instance; KAboutData *_about; - QString _rootOnlyMsg; + TQString _rootOnlyMsg; bool _useRootOnlyMsg; bool _hasOwnInstance; - QPtrList<KConfigDialogManager> managers; - QString _quickHelp; + TQPtrList<KConfigDialogManager> managers; + TQString _quickHelp; // this member is used to record the state on non-automatically // managed widgets, allowing for mixed KConfigXT-drive and manual @@ -59,8 +59,8 @@ public: bool _unmanagedWidgetChangeState; }; -KCModule::KCModule(QWidget *parent, const char *name, const QStringList &) - : QWidget(parent, name) +KCModule::KCModule(TQWidget *parent, const char *name, const TQStringList &) + : TQWidget(parent, name) { init(); if (name && strlen(name)) { @@ -74,8 +74,8 @@ KCModule::KCModule(QWidget *parent, const char *name, const QStringList &) } -KCModule::KCModule(KInstance *instance, QWidget *parent, const QStringList & ) - : QWidget(parent, instance ? instance->instanceName().data() : 0) +KCModule::KCModule(KInstance *instance, TQWidget *parent, const TQStringList & ) + : TQWidget(parent, instance ? instance->instanceName().data() : 0) { init(); d->_instance = instance; @@ -95,10 +95,10 @@ void KCModule::init() _btn = Help|Default|Apply; } -KConfigDialogManager* KCModule::addConfig( KConfigSkeleton *config, QWidget* widget ) +KConfigDialogManager* KCModule::addConfig( KConfigSkeleton *config, TQWidget* widget ) { KConfigDialogManager* manager = new KConfigDialogManager( widget, config, name() ); - connect( manager, SIGNAL( widgetModified() ), SLOT( widgetChanged() )); + connect( manager, TQT_SIGNAL( widgetModified() ), TQT_SLOT( widgetChanged() )); d->managers.append( manager ); return manager; } @@ -167,12 +167,12 @@ void KCModule::setAboutData( KAboutData* about ) d->_about = about; } -void KCModule::setRootOnlyMsg(const QString& msg) +void KCModule::setRootOnlyMsg(const TQString& msg) { d->_rootOnlyMsg = msg; } -QString KCModule::rootOnlyMsg() const +TQString KCModule::rootOnlyMsg() const { return d->_rootOnlyMsg; } @@ -197,19 +197,19 @@ KInstance *KCModule::instance() const return d->_instance; } -void KCModule::setQuickHelp( const QString& help ) +void KCModule::setQuickHelp( const TQString& help ) { d->_quickHelp = help; emit( quickHelpChanged() ); } -QString KCModule::quickHelp() const +TQString KCModule::quickHelp() const { return d->_quickHelp; } -const QPtrList<KConfigDialogManager>& KCModule::configs() const +const TQPtrList<KConfigDialogManager>& KCModule::configs() const { return d->managers; } |