uisupport: Provide helpers for dealing with widget changes
[quassel.git] / src / common / dccconfig.h
index b4a34f8..f919dcc 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2016 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  *
@@ -20,6 +20,8 @@
 
 #pragma once
 
+#include "common-export.h"
+
 #include <QHostAddress>
 
 #include "syncableobject.h"
@@ -30,7 +32,7 @@
  * @warning Equality and assignment operators are optimized for use in a settings page
  *          and do not cover all attributes!
  */
-class DccConfig : public SyncableObject
+class COMMON_EXPORT DccConfig : public SyncableObject
 {
     Q_OBJECT
     SYNCABLE_OBJECT
@@ -84,9 +86,6 @@ public:
      */
     DccConfig(QObject *parent = nullptr);
 
-    // see base class
-    const QMetaObject *syncMetaObject() const override { return &staticMetaObject; }
-
     /**
      * Assignment operator.
      *