/***************************************************************************
- * Copyright (C) 2005-09 by the Quassel Project *
+ * Copyright (C) 2005-2014 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifndef IRCUSER_H
Q_PROPERTY(int lastAwayMessage READ lastAwayMessage WRITE setLastAwayMessage STORED false)
Q_PROPERTY(QString whoisServiceReply READ whoisServiceReply WRITE setWhoisServiceReply STORED false)
Q_PROPERTY(QString suserHost READ suserHost WRITE setSuserHost STORED false)
+ Q_PROPERTY(bool encrypted READ encrypted WRITE setEncrypted STORED false)
Q_PROPERTY(QStringList channels READ channels STORED false)
Q_PROPERTY(QString userModes READ userModes WRITE setUserModes)
inline int lastAwayMessage() const { return _lastAwayMessage; }
inline QString whoisServiceReply() const { return _whoisServiceReply; }
inline QString suserHost() const { return _suserHost; }
+ inline bool encrypted() const { return _encrypted; }
inline Network *network() const { return _network; }
inline QString userModes() const { return _userModes; }
void setLastAwayMessage(const int &lastAwayMessage);
void setWhoisServiceReply(const QString &whoisServiceReply);
void setSuserHost(const QString &suserHost);
+ void setEncrypted(bool encrypted);
void updateHostmask(const QString &mask);
void setUserModes(const QString &modes);
// void lastAwayMessageSet(int lastAwayMessage);
// void whoisServiceReplySet(QString whoisServiceReply);
// void suserHostSet(QString suserHost);
+ void encryptedSet(bool encrypted);
void userModesSet(QString modes);
void userModesAdded(QString modes);
int _lastAwayMessage;
QString _whoisServiceReply;
QString _suserHost;
+ bool _encrypted;
// QSet<QString> _channels;
QSet<IrcChannel *> _channels;