X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreircchannel.h;h=249aca05014431bf98fa3810a345588769c9f597;hb=7cf8b4e04ae10dd68d344444c49499d4f916394c;hp=c7746044aec89c86566e3c4160b3a3b64998a513;hpb=04315f46a16fc3627218377071e008b6b9744992;p=quassel.git diff --git a/src/core/coreircchannel.h b/src/core/coreircchannel.h index c7746044..249aca05 100644 --- a/src/core/coreircchannel.h +++ b/src/core/coreircchannel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COREIRCCHANNEL_H -#define COREIRCCHANNEL_H +#pragma once #include "ircchannel.h" @@ -29,15 +28,12 @@ class CoreIrcChannel : public IrcChannel { - SYNCABLE_OBJECT - Q_OBJECT + Q_OBJECT public: CoreIrcChannel(const QString &channelname, Network *network); virtual ~CoreIrcChannel(); - inline virtual const QMetaObject *syncMetaObject() const { return &IrcChannel::staticMetaObject; } - #ifdef HAVE_QCA2 Cipher *cipher() const; void setEncrypted(bool); @@ -53,6 +49,3 @@ private: mutable Cipher *_cipher; #endif }; - - -#endif //COREIRCCHANNEL_H