X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fstyledlabel.h;h=2cd7390a3ecf9486880296c9ec031ded2ea43cb4;hp=beb8db42bd3cef6d5e769079d852900c9cc1de06;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/uisupport/styledlabel.h b/src/uisupport/styledlabel.h index beb8db42..2cd7390a 100644 --- a/src/uisupport/styledlabel.h +++ b/src/uisupport/styledlabel.h @@ -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 * @@ -18,15 +18,16 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef STYLEDLABEL_H -#define STYLEDLABEL_H +#pragma once + +#include "uisupport-export.h" #include #include "clickable.h" #include "uistyle.h" -class StyledLabel : public QFrame +class UISUPPORT_EXPORT StyledLabel : public QFrame { Q_OBJECT @@ -37,7 +38,7 @@ public: ResizeOnHover }; - StyledLabel(QWidget *parent = 0); + StyledLabel(QWidget *parent = nullptr); void setText(const QString &text); void setCustomFont(const QFont &font); @@ -89,6 +90,3 @@ private: void setHoverMode(int start, int length); void endHoverMode(); }; - - -#endif