modernize: Use '= default' instead of empty ctor/dtor bodies
[quassel.git] / src / common / bufferviewconfig.h
index d2542e7..0390ddb 100644 (file)
 
 #pragma once
 
+#include "common-export.h"
+
 #include "syncableobject.h"
 
 #include "bufferinfo.h"
 #include "types.h"
 
-class BufferViewConfig : public SyncableObject
+class COMMON_EXPORT BufferViewConfig : public SyncableObject
 {
     Q_OBJECT
     SYNCABLE_OBJECT
@@ -42,8 +44,8 @@ class BufferViewConfig : public SyncableObject
     Q_PROPERTY(bool showSearch READ showSearch WRITE setShowSearch)
 
 public :
-    BufferViewConfig(int bufferViewId, QObject *parent = 0);
-    BufferViewConfig(int bufferViewId, const QVariantMap &properties, QObject *parent = 0);
+    BufferViewConfig(int bufferViewId, QObject *parent = nullptr);
+    BufferViewConfig(int bufferViewId, const QVariantMap &properties, QObject *parent = nullptr);
 
 public slots:
     inline int bufferViewId() const { return _bufferViewId; }