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/manager.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kresources/manager.h') diff --git a/kresources/manager.h b/kresources/manager.h index b129a7317..ab1562716 100644 --- a/kresources/manager.h +++ b/kresources/manager.h @@ -24,8 +24,8 @@ #ifndef KRESOURCES_MANAGER_H #define KRESOURCES_MANAGER_H -#include -#include +#include +#include #include #include @@ -209,7 +209,7 @@ class Manager : private ManagerNotifier Create manager for given resource family. The family argument is used as identifier for loading and saving resource configurations. */ - Manager( const QString &family ) + Manager( const TQString &family ) { mFactory = Factory::self( family ); // The managerimpl will use the same Factory object as the manager @@ -295,7 +295,7 @@ class Manager : private ManagerNotifier Returns a list of the names of the resources managed by the Manager for this family. */ - QStringList resourceNames() const + TQStringList resourceNames() const { return mImpl->resourceNames(); } @@ -310,7 +310,7 @@ class Manager : private ManagerNotifier @param type The type of the resource, one of those returned by resourceTypeNames() */ - T *createResource( const QString& type ) + T *createResource( const TQString& type ) { return dynamic_cast( mFactory->resource( type, 0 ) ); } @@ -318,7 +318,7 @@ class Manager : private ManagerNotifier /** Returns a list of the names of all available resource types. */ - QStringList resourceTypeNames() const + TQStringList resourceTypeNames() const { return mFactory->typeNames(); } @@ -326,16 +326,16 @@ class Manager : private ManagerNotifier /** Return list of descriptions of all available resource types. */ - QStringList resourceTypeDescriptions() const + TQStringList resourceTypeDescriptions() const { - QStringList typeDescs; - QStringList types = mFactory->typeNames(); + TQStringList typeDescs; + TQStringList types = mFactory->typeNames(); - for ( QStringList::ConstIterator it = types.begin(); it != types.end(); + for ( TQStringList::ConstIterator it = types.begin(); it != types.end(); ++it ) { - QString desc = mFactory->typeName( *it ); + TQString desc = mFactory->typeName( *it ); if ( !mFactory->typeDescription( *it ).isEmpty() ) - desc += QString::fromLatin1(" (") + mFactory->typeDescription( *it ) + QString::fromLatin1(")"); + desc += TQString::fromLatin1(" (") + mFactory->typeDescription( *it ) + TQString::fromLatin1(")"); typeDescs.append( desc ); } @@ -414,7 +414,7 @@ class Manager : private ManagerNotifier private: ManagerImpl *mImpl; Factory *mFactory; - QPtrList > mObservers; + TQPtrList > mObservers; }; } -- cgit v1.2.1