uisupport: Provide helpers for dealing with widget changes
[quassel.git] / src / common / dccconfig.h
index 7512691..f919dcc 100644 (file)
@@ -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.
      *