settings: Reset Network SASL status on load
[quassel.git] / src / qtui / settingspages / networkssettingspage.h
index 3ce0190..1e32ccd 100644 (file)
@@ -59,6 +59,16 @@ private slots:
     void displayNetwork(NetworkId);
     void setItemState(NetworkId, QListWidgetItem *item = 0);
 
+    /**
+     * Reset the capability-dependent settings to the default unknown states
+     *
+     * For example, this updates the SASL text to indicate the status is unknown.  Any actual
+     * information should be set by setNetworkCapStates()
+     *
+     * @see NetworksSettingsPage::setNetworkCapStates()
+     */
+    void resetNetworkCapStates();
+
     /**
      * Update the capability-dependent settings according to what the server supports
      *