summaryrefslogtreecommitdiffstats
path: root/kresources/managerimpl.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/managerimpl.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/managerimpl.h')
-rw-r--r--kresources/managerimpl.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kresources/managerimpl.h b/kresources/managerimpl.h
index 107f7b1f0..e86ea3d9d 100644
--- a/kresources/managerimpl.h
+++ b/kresources/managerimpl.h
@@ -23,9 +23,9 @@
#ifndef KRESOURCES_MANAGERIMPL_H
#define KRESOURCES_MANAGERIMPL_H
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qdict.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqdict.h>
#include "manageriface.h"
#include <kresources/resource.h>
@@ -46,7 +46,7 @@ class ManagerNotifier;
class KRESOURCES_EXPORT ManagerImpl : virtual public ManagerIface
{
public:
- ManagerImpl( ManagerNotifier *, const QString &family );
+ ManagerImpl( ManagerNotifier *, const TQString &family );
~ManagerImpl();
void readConfig( KConfig * );
@@ -63,39 +63,39 @@ class KRESOURCES_EXPORT ManagerImpl : virtual public ManagerIface
Resource::List *resourceList();
- QPtrList<Resource> resources();
+ TQPtrList<Resource> resources();
// Get only active or passive resources
- QPtrList<Resource> resources( bool active );
+ TQPtrList<Resource> resources( bool active );
- QStringList resourceNames();
+ TQStringList resourceNames();
- static QString defaultConfigFile( const QString &family );
+ static TQString defaultConfigFile( const TQString &family );
private:
// dcop calls
- void dcopKResourceAdded( QString managerId, QString resourceId );
- void dcopKResourceModified( QString managerId, QString resourceId );
- void dcopKResourceDeleted( QString managerId, QString resourceId );
+ void dcopKResourceAdded( TQString managerId, TQString resourceId );
+ void dcopKResourceModified( TQString managerId, TQString resourceId );
+ void dcopKResourceDeleted( TQString managerId, TQString resourceId );
private:
void createStandardConfig();
- Resource *readResourceConfig( const QString& identifier, bool checkActive );
+ Resource *readResourceConfig( const TQString& identifier, bool checkActive );
void writeResourceConfig( Resource *resource, bool checkActive );
void removeResource( Resource *resource );
Resource *getResource( Resource *resource );
- Resource *getResource( const QString& identifier );
+ Resource *getResource( const TQString& identifier );
ManagerNotifier *mNotifier;
- QString mFamily;
+ TQString mFamily;
KConfig *mConfig;
KConfig *mStdConfig;
Resource *mStandard;
Factory *mFactory;
Resource::List mResources;
- QString mId;
+ TQString mId;
bool mConfigRead;
class ManagerImplPrivate;