/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "coresession.h"
-class Identity;
+class CoreIdentity;
class IrcServerHandler;
class UserInputHandler;
class CtcpHandler;
~CoreNetwork();
inline virtual const QMetaObject *syncMetaObject() const { return &Network::staticMetaObject; }
- inline Identity *identityPtr() const { return coreSession()->identity(identity()); }
+ inline CoreIdentity *identityPtr() const { return coreSession()->identity(identity()); }
inline CoreSession *coreSession() const { return _coreSession; }
inline IrcServerHandler *ircServerHandler() const { return _ircServerHandler; }
QByteArray userEncode(const QString &userNick, const QString &string) const;
inline QString channelKey(const QString &channel) const { return _channelKeys.value(channel.toLower(), QString()); }
- inline QStringList persistentChannels() const { return _channelKeys.keys(); }
inline bool isAutoWhoInProgress(const QString &channel) const { return _autoWhoInProgress.value(channel.toLower(), 0); }
bool setAutoWhoDone(const QString &channel);
- inline const Server &usedServer() const { return serverList()[_lastUsedServerIndex]; }
+ Server usedServer() const;
signals:
void recvRawServerMsg(QString);
void startAutoWhoCycle();
#ifdef HAVE_SSL
- void sslSocketConnected();
void sslErrors(const QList<QSslError> &errors);
#endif