X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickablelabel.h;h=f2ecf24c3dc3a9d4b45b3940e45d7ea6043d81c8;hp=f7fd0f4dc4ba48b19400ebd084bf1b3b8b9082b3;hb=c0d6dc0dec628f2e143e37ecc95cec45e636f8a5;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/uisupport/clickablelabel.h b/src/uisupport/clickablelabel.h index f7fd0f4d..f2ecf24c 100644 --- a/src/uisupport/clickablelabel.h +++ b/src/uisupport/clickablelabel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2020 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