+
+// ========================================
+// NotificationSettings
+// ========================================
+class NotificationSettings : public ClientSettings
+{
+public:
+ 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 setHighlightNick(HighlightNickType);
+ HighlightNickType highlightNick();
+
+ void setNicksCaseSensitive(bool);
+ bool nicksCaseSensitive();
+};
+
+
+// ========================================
+// CoreConnectionSettings
+// ========================================
+
+class CoreConnectionSettings : public ClientSettings
+{
+public:
+ enum NetworkDetectionMode {
+ UseQNetworkConfigurationManager = 1, // UseSolid is gone
+ UsePingTimeout,
+ NoActiveDetection
+ };
+
+ CoreConnectionSettings();
+
+ void setNetworkDetectionMode(NetworkDetectionMode mode);
+ NetworkDetectionMode networkDetectionMode();
+
+ void setAutoReconnect(bool autoReconnect);
+ bool autoReconnect();
+
+ void setPingTimeoutInterval(int interval);
+ int pingTimeoutInterval();
+
+ void setReconnectInterval(int interval);
+ int reconnectInterval();
+};
+
+
+// ========================================
+// TabCompletionSettings
+// ========================================
+
+class TabCompletionSettings : public ClientSettings
+{
+public:
+ enum SortMode {
+ Alphabetical,
+ LastActivity
+ };
+
+ TabCompletionSettings();
+
+ void setCompletionSuffix(const QString &);
+ QString completionSuffix();
+
+ void setAddSpaceMidSentence(bool);
+ bool addSpaceMidSentence();
+
+ void setSortMode(SortMode);
+ SortMode sortMode();
+
+ void setCaseSensitivity(Qt::CaseSensitivity);
+ Qt::CaseSensitivity caseSensitivity();
+
+ void setUseLastSpokenTo(bool);
+ bool useLastSpokenTo();
+};
+
+
+// ========================================
+// ItemViewSettings
+// ========================================
+class ItemViewSettings : public ClientSettings
+{
+public:
+ ItemViewSettings(const QString &group = "ItemViews");
+
+ bool displayTopicInTooltip();
+ bool mouseWheelChangesBuffer();
+};
+
+