summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/opieconfig.h
Side-by-side diff
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
@@ -34,46 +34,47 @@
#ifdef QWS
#include <qpe/config.h>
#else
#include <qsettings.h>
#endif
class OpieConfig
#ifdef QWS
: public Config
#else
: public QSettings
#endif
{
public:
#ifndef QWS
enum Domain { File, User };
#endif
OpieConfig( const QString&, Domain );
#ifndef QWS
void setGroup( const QString& key);
- bool hasKey ( const QString & key ) const;
+ bool hasKey ( const QString & key ) const;
+ void write() {}; // FIXME: did not find the docu... what shall I do here?
#endif
/**
* @returns the name of the current group.
* The current group is used for searching keys and accessing entries.
*/
const QString& group()
#ifdef QWS
{ return git.key(); };
#else
{ return group(); };
#endif
#ifndef QWS
private:
bool hasGroup;
#endif
};
#endif // OPIECONFIG_H