X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=c3172a7f9e446d7f90b32f4fc51026b27dd82a0a;hb=9ba2ca5186c8598e33910a7df95bbdbf812a1a3d;hp=225caab82841c855a8c27156ec5e3ddf2f3c3600;hpb=095d3006b60d64ef3a705ee204afe5e555ca8729;p=quassel.git diff --git a/src/client/client.h b/src/client/client.h index 225caab8..c3172a7f 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -131,9 +131,7 @@ public: static inline CoreAccountModel *coreAccountModel() { return instance()->_coreAccountModel; } static inline CoreConnection *coreConnection() { return instance()->_coreConnection; } static inline CoreAccount currentCoreAccount() { return coreConnection()->currentAccount(); } - static inline Quassel::Features coreFeatures() { return _coreFeatures; } - - static void setCoreFeatures(Quassel::Features features); + static bool isCoreFeatureEnabled(Quassel::Feature feature); static bool isConnected(); static bool internalCore(); @@ -163,10 +161,15 @@ public: #endif static inline const QString &debugLog() { return instance()->_debugLogBuffer; } + void displayChannelList(NetworkId networkId) { + emit showChannelList(networkId); + } + signals: void requestNetworkStates(); void showConfigWizard(const QVariantMap &coredata); + void showChannelList(NetworkId networkId); void showIgnoreList(QString ignoreRule); void connected(); @@ -282,7 +285,6 @@ private: QHash _identities; bool _connected; - static Quassel::Features _coreFeatures; QString _debugLogBuffer; QTextStream _debugLog;