X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickablelabel.h;h=a788616c01a1b84f59d5be0f43e2a7f3760e9e36;hp=df3e65aeb677ea9b7a04cf7aa7da091e3153e353;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/uisupport/clickablelabel.h b/src/uisupport/clickablelabel.h index df3e65ae..a788616c 100644 --- a/src/uisupport/clickablelabel.h +++ b/src/uisupport/clickablelabel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 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 * @@ -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