- void setValue(const QString &account, const QString &key, const QVariant &data);
- QVariant value(const QString &account, const QString &key, const QVariant &def = QVariant());
- void removeAccount(const QString &account);
+ 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 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");