summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h
index 4662ed19..31dbf85c 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -34,6 +34,7 @@ class QSplitter;
class PluginContainer;
class ServerInfo;
+class ServerList;
class Settings;
class ExpanderWidget;
@@ -493,11 +494,13 @@ public:
*/
std::map<QString, int> getPreferredServers();
+ ServerList getServers() const;
+
/**
* @brief updates the list of known servers
* @param list of servers from a recent query
*/
- void updateServers(const QList<ServerInfo> &servers);
+ void updateServers(const ServerList& servers);
/**
* @brief add a plugin that is to be blacklisted