X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickablelabel.h;h=353c903c43d26b4a6e5b475c683077b1920c14a3;hp=b35e40cf03ea8d89cf98d83f29bd475d8682319e;hb=cc6e7c08709c4e761e2fd9c2e322751015497003;hpb=9d54503555534a2c554f09a33df6afa33d6308ec diff --git a/src/uisupport/clickablelabel.h b/src/uisupport/clickablelabel.h index b35e40cf..353c903c 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-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,24 +18,22 @@ * 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(); protected: - void mouseReleaseEvent(QMouseEvent *event); + void mouseReleaseEvent(QMouseEvent* event) override; }; - - -#endif //CLICKABLELABEL_H