Note to self: a QSet is not ordered.
[quassel.git] / src / client / clientsettings.h
index ee0b0d2..6c7c6db 100644 (file)
@@ -71,13 +71,23 @@ class CoreAccountSettings : public ClientSettings {
 class NotificationSettings : public ClientSettings {
 
   public:
-    NotificationSettings();
+    enum HighlightNickType {
+      NoNick = 0x00,
+      CurrentNick= 0x01,
+      AllNicks = 0x02
+    };
 
+    NotificationSettings();
+    
+    inline void setValue(const QString &key, const QVariant &data) { setLocalValue(key, data); }
+    inline QVariant value(const QString &key, const QVariant &def = QVariant()) { return localValue(key, def); }
+    inline void remove(const QString &key) { removeLocalKey(key); }
+      
     void setHighlightList(const QVariantList &highlightList);
     QVariantList highlightList();
 
-    void setHighlightCurrentNick(const bool &highlightCurrentNick);
-    bool highlightCurrentNick();
+    void setHighlightNick(HighlightNickType);
+    HighlightNickType highlightNick();
 
 };
 #endif