From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/factory.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kresources/factory.h') 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 -#include +#include +#include #include #include @@ -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 *mSelves; + static TQDict *mSelves; - QString mResourceFamily; - QMap mTypeMap; + TQString mResourceFamily; + TQMap mTypeMap; }; } -- cgit v1.2.1