X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircchannel.h;h=7275cd6700846062de70d71911b83cfbab488f34;hb=92fc8c5b119111a35ab8423c3cbde5b2a022badf;hp=36aa86433c522a572075cd6851653e171cb6250a;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/common/ircchannel.h b/src/common/ircchannel.h index 36aa8643..7275cd67 100644 --- a/src/common/ircchannel.h +++ b/src/common/ircchannel.h @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef IRCCHANNEL_H -#define IRCCHANNEL_H +#pragma once + +#include "common-export.h" #include #include @@ -32,10 +33,10 @@ class IrcUser; class Network; -class IrcChannel : public SyncableObject +class COMMON_EXPORT IrcChannel : public SyncableObject { - SYNCABLE_OBJECT Q_OBJECT + SYNCABLE_OBJECT Q_PROPERTY(QString name READ name) Q_PROPERTY(QString topic READ topic WRITE setTopic) @@ -150,6 +151,3 @@ private: QHash _C_channelModes; QSet _D_channelModes; }; - - -#endif