35 Entry(
const TQString &_name,
bool _derived): name(_name), derived(_derived) {}
39 typedef TQValueList<Entry> EntryList;
49 Profile(
Profile *parent,
const TQString &name,
const TQString &genericName,
const TQString &description);
52 TQValueList<Profile*> children()
const {
return m_children; }
53 Profile *parent()
const {
return m_parent; }
58 TQString name()
const {
return m_name; }
59 TQString genericName()
const {
return m_genericName; }
60 TQString description()
const {
return m_description; }
62 EntryList list(
List type);
64 void addEntry(
List type,
const TQString &value);
65 void removeEntry(
List type,
const TQString &value);
66 void clearList(
List type);
68 bool hasInEntryList(EntryList &list, TQString value);
70 KURL::List resources(
const TQString &nameFilter);
71 void addResource(
const KURL &url);
73 void detachFromParent();
76 void addChildProfile(
Profile *profile);
77 void removeChildProfile(
Profile *profile);
78 TQString dirName()
const;
80 TQStringList &listByType(
List type);
84 TQValueList<Profile*> m_children;
88 TQString m_genericName;
89 TQString m_description;
91 TQStringList m_properties;
92 TQStringList m_explicitEnable;
93 TQStringList m_explicitDisable;
An entry in the lists that store profile information.