summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/config.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/config.h b/library/config.h
index af61777..a2f9b2d 100644
--- a/library/config.h
+++ b/library/config.h
@@ -33,3 +33,3 @@ public:
typedef QMap< QString, QString > ConfigGroup;
-
+
enum Domain { File, User };
@@ -37,6 +37,6 @@ public:
~Config();
-
+
bool operator == ( const Config & other ) const { return (filename == other.filename); }
bool operator != ( const Config & other ) const { return (filename != other.filename); }
-
+
bool isValid() const;
@@ -47,3 +47,3 @@ public:
inline QStringList groupList ( ) const { QStringList sl; for ( QMap< QString, ConfigGroup >::ConstIterator it = groups. begin ( ); it != groups. end ( ); ++it ) { sl << it.key(); } return sl; };
-
+
void setGroup( const QString &gname );
@@ -58,3 +58,3 @@ public:
void removeEntry( const QString &key );
-
+
QString readEntry( const QString &key, const QString &deflt = QString::null ) const;
@@ -73,7 +73,7 @@ public:
QStringList readListEntry( const QString &key, const QChar &sep );
-
+
void clearGroup();
-
+
void write( const QString &fn = QString::null );
-
+
protected:
@@ -81,3 +81,3 @@ protected:
bool parse( const QString &line );
-
+
QMap< QString, ConfigGroup > groups;