summaryrefslogtreecommitdiffstats
path: root/src/profileengine/lib/profile.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/profileengine/lib/profile.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/profileengine/lib/profile.h')
-rw-r--r--src/profileengine/lib/profile.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/profileengine/lib/profile.h b/src/profileengine/lib/profile.h
index 9d467984..c81db7e3 100644
--- a/src/profileengine/lib/profile.h
+++ b/src/profileengine/lib/profile.h
@@ -20,7 +20,7 @@
#define PROFILE_H
#include <kurl.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
/**
@short KDevelop profile
@@ -32,11 +32,11 @@ public:
/**An entry in the lists that store profile information*/
struct Entry {
Entry() {}
- Entry(const QString &_name, bool _derived): name(_name), derived(_derived) {}
- QString name;
+ Entry(const TQString &_name, bool _derived): name(_name), derived(_derived) {}
+ TQString name;
bool derived;
};
- typedef QValueList<Entry> EntryList;
+ typedef TQValueList<Entry> EntryList;
/**Lists which are held by a profile.*/
enum List {
@@ -45,29 +45,29 @@ public:
ExplicitDisable /**<A list of explicitly disabled plugins (names).*/
};
- Profile(Profile *parent, const QString &name);
- Profile(Profile *parent, const QString &name, const QString &genericName, const QString &description);
+ Profile(Profile *parent, const TQString &name);
+ Profile(Profile *parent, const TQString &name, const TQString &genericName, const TQString &description);
~Profile();
- QValueList<Profile*> children() const { return m_children; }
+ TQValueList<Profile*> children() const { return m_children; }
Profile *parent() const { return m_parent; }
void save();
bool remove();
- QString name() const { return m_name; }
- QString genericName() const { return m_genericName; }
- QString description() const { return m_description; }
+ TQString name() const { return m_name; }
+ TQString genericName() const { return m_genericName; }
+ TQString description() const { return m_description; }
EntryList list(List type);
- void addEntry(List type, const QString &value);
- void removeEntry(List type, const QString &value);
+ void addEntry(List type, const TQString &value);
+ void removeEntry(List type, const TQString &value);
void clearList(List type);
- bool hasInEntryList(EntryList &list, QString value);
+ bool hasInEntryList(EntryList &list, TQString value);
- KURL::List resources(const QString &nameFilter);
+ KURL::List resources(const TQString &nameFilter);
void addResource(const KURL &url);
void detachFromParent();
@@ -75,22 +75,22 @@ public:
protected:
void addChildProfile(Profile *profile);
void removeChildProfile(Profile *profile);
- QString dirName() const;
+ TQString dirName() const;
- QStringList &listByType(List type);
+ TQStringList &listByType(List type);
private:
Profile *m_parent;
- QValueList<Profile*> m_children;
+ TQValueList<Profile*> m_children;
- QString m_name;
+ TQString m_name;
- QString m_genericName;
- QString m_description;
+ TQString m_genericName;
+ TQString m_description;
- QStringList m_properties;
- QStringList m_explicitEnable;
- QStringList m_explicitDisable;
+ TQStringList m_properties;
+ TQStringList m_explicitEnable;
+ TQStringList m_explicitDisable;
};
#endif