X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fclickablelabel.h;h=f9898fda14b1b68d0276799287e0bec93917d278;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hp=11ebeb5d470f1cebeb9228a6bde7dd7f50e7c853;hpb=982ece4929696e3817875543cab527740cc7e023;p=quassel.git diff --git a/src/uisupport/clickablelabel.h b/src/uisupport/clickablelabel.h index 11ebeb5d..f9898fda 100644 --- a/src/uisupport/clickablelabel.h +++ b/src/uisupport/clickablelabel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,25 +15,25 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 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 { - Q_OBJECT +class UISUPPORT_EXPORT ClickableLabel : public QLabel +{ + Q_OBJECT public: - ClickableLabel(QWidget *parent = 0); + ClickableLabel(QWidget* parent = nullptr); signals: - void clicked(); + void clicked(); protected: - void mouseReleaseEvent(QMouseEvent *event); + void mouseReleaseEvent(QMouseEvent* event) override; }; - -#endif //CLICKABLELABEL_H