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();
static void changePassword(const QString &oldPassword, const QString &newPassword);
static void kickClient(int peerId);
+ void displayIgnoreList(QString ignoreRule) {
+ emit showIgnoreList(ignoreRule);
+ }
+
#if QT_VERSION < 0x050000
static void logMessage(QtMsgType type, const char *msg);
#else
void requestNetworkStates();
void showConfigWizard(const QVariantMap &coredata);
+ void showChannelList(NetworkId networkId);
void showIgnoreList(QString ignoreRule);
void connected();
QHash<IdentityId, Identity *> _identities;
bool _connected;
- static Quassel::Features _coreFeatures;
QString _debugLogBuffer;
QTextStream _debugLog;