common: Simplify SyncableObject macros and usage
[quassel.git] / src / core / coreircchannel.h
index ac2af5a..249aca0 100644 (file)
@@ -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"
 
 
 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