diff options
Diffstat (limited to 'src/profileengine/lib/profile.h')
-rw-r--r-- | src/profileengine/lib/profile.h | 46 |
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 |