~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/common/ircchannel.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2013-10-11 00:06:18 UTC
  • mfrom: (1.1.52)
  • Revision ID: package-import@ubuntu.com-20131011000618-46ncwnh3demhlw10
Tags: 0.9.1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    Q_PROPERTY(QString name READ name STORED false)
41
41
    Q_PROPERTY(QString topic READ topic WRITE setTopic STORED false)
42
42
    Q_PROPERTY(QString password READ password WRITE setPassword STORED false)
 
43
    Q_PROPERTY(bool encrypted READ encrypted WRITE setEncrypted STORED false)
43
44
 
44
45
public :
45
46
        IrcChannel(const QString &channelname, Network *network);
51
52
    inline QString name() const { return _name; }
52
53
    inline QString topic() const { return _topic; }
53
54
    inline QString password() const { return _password; }
 
55
    inline bool encrypted() const { return _encrypted; }
54
56
    inline Network *network() const { return _network; }
55
57
 
56
58
    inline QList<IrcUser *> ircUsers() const { return _userModes.keys(); }
76
78
public slots:
77
79
    void setTopic(const QString &topic);
78
80
    void setPassword(const QString &password);
 
81
    void setEncrypted(bool encrypted);
79
82
 
80
83
    void joinIrcUsers(const QList<IrcUser *> &users, const QStringList &modes);
81
84
    void joinIrcUsers(const QStringList &nicks, const QStringList &modes);
106
109
 
107
110
signals:
108
111
    void topicSet(const QString &topic); // needed by NetworkModel
 
112
    void encryptedSet(bool encrypted);
109
113
//   void passwordSet(const QString &password);
110
114
//   void userModesSet(QString nick, QString modes);
111
115
//   void userModeAdded(QString nick, QString mode);
132
136
    QString _name;
133
137
    QString _topic;
134
138
    QString _password;
 
139
    bool _encrypted;
135
140
 
136
141
    QHash<IrcUser *, QString> _userModes;
137
142