X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fclickablelabel.h;h=c68fde21d45e517f1f5be4609da58755e1737050;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hp=b35e40cf03ea8d89cf98d83f29bd475d8682319e;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/uisupport/clickablelabel.h b/src/uisupport/clickablelabel.h index b35e40cf..c68fde21 100644 --- a/src/uisupport/clickablelabel.h +++ b/src/uisupport/clickablelabel.h @@ -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 * @@ -18,17 +18,18 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLICKABLELABEL_H -#define CLICKABLELABEL_H +#pragma once + +#include "uisupport-export.h" #include -class ClickableLabel : public QLabel +class UISUPPORT_EXPORT ClickableLabel : public QLabel { Q_OBJECT public: - ClickableLabel(QWidget *parent = 0); + ClickableLabel(QWidget *parent = nullptr); signals: void clicked(); @@ -36,6 +37,3 @@ signals: protected: void mouseReleaseEvent(QMouseEvent *event); }; - - -#endif //CLICKABLELABEL_H