33 #include <QtCore/qobject.h> 34 #include <QtCore/qmetatype.h> 35 #include <QtCore/qscopedpointer.h> 45 Q_PROPERTY(
QString title READ title NOTIFY titleChanged)
46 Q_PROPERTY(
QString name READ name NOTIFY nameChanged)
47 Q_PROPERTY(
QString prefix READ prefix NOTIFY prefixChanged)
48 Q_PROPERTY(
QString mode READ mode NOTIFY modeChanged)
49 Q_PROPERTY(
bool servOp READ isServOp NOTIFY servOpChanged)
50 Q_PROPERTY(
bool away READ isAway NOTIFY awayChanged)
61 bool isServOp() const;
67 void titleChanged(const
QString& title);
68 void nameChanged(const
QString& name);
69 void prefixChanged(const
QString& prefix);
70 void modeChanged(const
QString& mode);
71 void servOpChanged(
bool servOp);
72 void awayChanged(
bool away);
76 Q_DECLARE_PRIVATE(IrcUser)
77 Q_DISABLE_COPY(IrcUser)
80 #ifndef QT_NO_DEBUG_STREAM 81 IRC_MODEL_EXPORT
QDebug operator<<(
QDebug debug,
const IrcUser* user);
82 #endif // QT_NO_DEBUG_STREAM 86 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcUser*))
87 Q_DECLARE_METATYPE(
QList<IRC_PREPEND_NAMESPACE(IrcUser*)>)
Keeps track of user status on a channel.
Definition: ircuser.h:42
Keeps track of channel status.
Definition: ircchannel.h:40