ExecWrapper tweaks
[quassel.git] / src / client / clientsettings.h
index aa0f0d6..0b1b3d5 100644 (file)
@@ -121,4 +121,31 @@ public:
 #endif
 };
 
+// ========================================
+// 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();
+
+};
+
 #endif