X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircuser.h;h=ea1eb3f6425bd0fd919e139de2fd1b83bdd689b8;hp=3a46af849fe4ec80f5b922af9bcae3fff52d81ff;hb=f66bc9ecb5ebde376da256035db425d7dc0c74d0;hpb=fb6f5bcbdebd8660f355a558dd7cc47f6df45965 diff --git a/src/common/ircuser.h b/src/common/ircuser.h index 3a46af84..ea1eb3f6 100644 --- a/src/common/ircuser.h +++ b/src/common/ircuser.h @@ -48,7 +48,7 @@ class IrcUser : public SyncableObject { Q_PROPERTY(int lastAwayMessage READ lastAwayMessage WRITE setLastAwayMessage STORED false) Q_PROPERTY(QStringList channels READ channels STORED false) - // Q_PROPERTY(QStringList usermodes READ usermodes WRITE setUsermodes) + Q_PROPERTY(QString userModes READ userModes WRITE setUserModes) public: IrcUser(const QString &hostmask, Network *network); @@ -102,8 +102,8 @@ public slots: void partChannel(IrcChannel *channel); void partChannel(const QString &channelname); - void addUserMode(const QString &mode); - void removeUserMode(const QString &mode); + void addUserModes(const QString &modes); + void removeUserModes(const QString &modes); signals: void userSet(QString user); @@ -123,11 +123,8 @@ signals: // void channelJoined(QString channel); void channelParted(QString channel); - void userModeAdded(QString mode); - void userModeRemoved(QString mode); - -// void setUsermodes(const QSet &usermodes); -// QSet usermodes() const; + void userModesAdded(QString modes); + void userModesRemoved(QString modes); private slots: void updateObjectName();