diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-30 18:02:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-30 18:02:11 +0000 |
commit | 5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718 (patch) | |
tree | a2f76da0912085453b974e590005753ca279457b /systemsettings/kcmultiwidget.h | |
parent | 70a90e54dfa3b5ab2133aebda71f310d29d6a680 (diff) | |
download | tde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.tar.gz tde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.zip |
TQt4 convert kde-systemsettings
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-systemsettings@1234247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'systemsettings/kcmultiwidget.h')
-rw-r--r-- | systemsettings/kcmultiwidget.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/systemsettings/kcmultiwidget.h b/systemsettings/kcmultiwidget.h index b0dc718..78edfb4 100644 --- a/systemsettings/kcmultiwidget.h +++ b/systemsettings/kcmultiwidget.h @@ -23,7 +23,7 @@ #ifndef KCMULTIDIALOG_H #define KCMULTIDIALOG_H -#include <qptrdict.h> +#include <tqptrdict.h> #include <kdialogbase.h> #include <klocale.h> @@ -40,29 +40,30 @@ class KCModule; class KUTILS_EXPORT KCMultiWidget : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** * Constructs a new KCMultiWidget * - * @param parent The parent widget + * @param tqparent The tqparent widget * @param name The widget name * @param modal If you pass true here, the dialog will be modal **/ - KCMultiWidget( QWidget *parent=0, const char *name=0, bool modal=false ); + KCMultiWidget( TQWidget *tqparent=0, const char *name=0, bool modal=false ); /** * Construct a personalized KCMultiWidget. * * @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or * IconList. - * @param parent Parent of the dialog. + * @param tqparent Parent of the dialog. * @param name Dialog name (for internal use only). * @param modal Controls dialog modality. If @p false, the rest of the * program interface (example: other dialogs) is accessible while * the dialog is open. */ - KCMultiWidget( int dialogFace, QWidget * parent = 0, + KCMultiWidget( int dialogFace, TQWidget * tqparent = 0, const char * name = 0, bool modal = false ); @@ -80,7 +81,7 @@ public: * @param withfallback Try harder to load the module. Might result * in the module appearing outside the dialog. **/ - void addModule(const QString& module, bool withfallback=true); + void addModule(const TQString& module, bool withfallback=true); /** * Add a module. @@ -89,16 +90,16 @@ public: * used for creating the module. It will be added * to the list of modules the dialog will show. * - * @param parentmodulenames The names of the modules that should appear as - * parents in the TreeList. Look at the + * @param tqparentmodulenames The names of the modules that should appear as + * tqparents in the TreeList. Look at the * KDialogBase::addPage documentation for more info * on this. * * @param withfallback Try harder to load the module. Might result * in the module appearing outside the dialog. **/ - void addModule(const KCModuleInfo& moduleinfo, QStringList - parentmodulenames = QStringList(), bool withfallback=false); + void addModule(const KCModuleInfo& moduleinfo, TQStringList + tqparentmodulenames = TQStringList(), bool withfallback=false); /** * @return the current module that is being shown. @@ -129,7 +130,7 @@ signals: * @param instanceName The name of the instance that needs to reload its * configuration. */ - void configCommitted( const QCString & instanceName ); + void configCommitted( const TQCString & instanceName ); /** * Emitted right before a module is shown. @@ -192,7 +193,7 @@ protected slots: private slots: - void slotAboutToShow(QWidget *); + void slotAboutToShow(TQWidget *); void clientChanged(bool state); @@ -237,14 +238,14 @@ private: bool adminmode; int buttons; }; - typedef QValueList<CreatedModule> ModuleList; + typedef TQValueList<CreatedModule> ModuleList; ModuleList m_modules; - typedef QMap<KService::Ptr, KCModuleProxy*> OrphanMap; + typedef TQMap<KService::Ptr, KCModuleProxy*> OrphanMap; OrphanMap m_orphanModules; - QPtrDict<QStringList> moduleParentComponents; - QString _docPath; + TQPtrDict<TQStringList> moduleParentComponents; + TQString _docPath; int dialogface; class KCMultiWidgetPrivate; |