summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/opieconfig.h
Unidiff
Diffstat (limited to 'libopie2/opiecore/opieconfig.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/opieconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie2/opiecore/opieconfig.h b/libopie2/opiecore/opieconfig.h
index 011ac86..e3eaec0 100644
--- a/libopie2/opiecore/opieconfig.h
+++ b/libopie2/opiecore/opieconfig.h
@@ -46,25 +46,26 @@ class OpieConfig
46#endif 46#endif
47{ 47{
48 48
49 public: 49 public:
50#ifndef QWS 50#ifndef QWS
51 enum Domain { File, User }; 51 enum Domain { File, User };
52#endif 52#endif
53 53
54 OpieConfig( const QString&, Domain ); 54 OpieConfig( const QString&, Domain );
55 55
56#ifndef QWS 56#ifndef QWS
57 void setGroup( const QString& key); 57 void setGroup( const QString& key);
58 bool hasKey ( const QString & key ) const; 58 bool hasKey ( const QString & key ) const;
59 void write() {}; // FIXME: did not find the docu... what shall I do here?
59#endif 60#endif
60 61
61 /** 62 /**
62 * @returns the name of the current group. 63 * @returns the name of the current group.
63 * The current group is used for searching keys and accessing entries. 64 * The current group is used for searching keys and accessing entries.
64 */ 65 */
65 const QString& group() 66 const QString& group()
66#ifdef QWS 67#ifdef QWS
67 { return git.key(); }; 68 { return git.key(); };
68#else 69#else
69 { return group(); }; 70 { return group(); };
70#endif 71#endif