summaryrefslogtreecommitdiffstats
path: root/kresources/manager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kresources/manager.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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/manager.h')
-rw-r--r--kresources/manager.h26
1 files changed, 13 insertions, 13 deletions
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 <qdict.h>
-#include <qstringlist.h>
+#include <tqdict.h>
+#include <tqstringlist.h>
#include <kdebug.h>
#include <kresources/factory.h>
@@ -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<T *>( 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<ManagerObserver<T> > mObservers;
+ TQPtrList<ManagerObserver<T> > mObservers;
};
}