src: Mark symbols to be exported where needed
[quassel.git] / src / uisupport / styledlabel.h
index 330838c..6bcdb93 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2014 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  *
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
  ***************************************************************************/
 
-#ifndef STYLEDLABEL_H
-#define STYLEDLABEL_H
+#pragma once
+
+#include "uisupport-export.h"
 
 #include <QFrame>
 
 #include "clickable.h"
 #include "uistyle.h"
 
-class StyledLabel : public QFrame
+class UISUPPORT_EXPORT StyledLabel : public QFrame
 {
     Q_OBJECT
 
@@ -89,6 +90,3 @@ private:
     void setHoverMode(int start, int length);
     void endHoverMode();
 };
-
-
-#endif