client: Show when Remote Highlights unsupported
[quassel.git] / src / qtui / settingspages / corehighlightsettingspage.h
index 5859d00..1a0ea71 100644 (file)
@@ -68,6 +68,11 @@ private slots:
      */
     void importRules();
 
+    /**
+     * Event handler for core unspported Details button
+     */
+    void on_coreUnsupportedDetails_clicked();
+
 private:
     Ui::CoreHighlightSettingsPage ui;
 
@@ -89,5 +94,14 @@ private:
 
     void setupRuleTable(QTableWidget *highlightTable) const;
 
+    /** Update the UI to show core support for highlights
+     *
+     * Shows or hides the UI warnings around core-side highlights according to core connection and
+     * core feature support.
+     *
+     * @param state  True if connected to core, otherwise false
+     */
+    void updateCoreSupportStatus(bool state);
+
     bool _initialized;
 };