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 /kresources/factory.h | |
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 'kresources/factory.h')
-rw-r--r-- | kresources/factory.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kresources/factory.h b/kresources/factory.h index d7a1e069e..925ff2e82 100644 --- a/kresources/factory.h +++ b/kresources/factory.h @@ -24,8 +24,8 @@ #ifndef KRESOURCES_FACTORY_H #define KRESOURCES_FACTORY_H -#include <qdict.h> -#include <qstring.h> +#include <tqdict.h> +#include <tqstring.h> #include <kconfig.h> #include <klibloader.h> @@ -66,7 +66,7 @@ class KRESOURCES_EXPORT Factory /** * Returns the global resource factory. */ - static Factory *self( const QString& resourceFamily ); + static Factory *self( const TQString& resourceFamily ); ~Factory(); @@ -77,7 +77,7 @@ class KRESOURCES_EXPORT Factory * @param type The type of the resource, returned by typeNames() * @param parent The parent widget */ - ConfigWidget *configWidget( const QString& type, QWidget *parent = 0 ); + ConfigWidget *configWidget( const TQString& type, TQWidget *parent = 0 ); /** * Returns a pointer to a resource object or a null pointer @@ -87,31 +87,31 @@ class KRESOURCES_EXPORT Factory * @param config The config object where the resource get it settings from, * or 0 if a resource with default values should be created. */ - Resource *resource( const QString& type, const KConfig *config ); + Resource *resource( const TQString& type, const KConfig *config ); /** * Returns a list of all available resource types. */ - QStringList typeNames() const; + TQStringList typeNames() const; /** * Returns the name for a special type. */ - QString typeName( const QString &type ) const; + TQString typeName( const TQString &type ) const; /** * Returns the description for a special type. */ - QString typeDescription( const QString &type ) const; + TQString typeDescription( const TQString &type ) const; protected: - Factory( const QString& resourceFamily ); + Factory( const TQString& resourceFamily ); private: - static QDict<Factory> *mSelves; + static TQDict<Factory> *mSelves; - QString mResourceFamily; - QMap<QString, KService::Ptr> mTypeMap; + TQString mResourceFamily; + TQMap<TQString, KService::Ptr> mTypeMap; }; } |