X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ffontselector.h;h=b090c2335b44d74fb5120337f09da46838758e6e;hb=082cb8c8eb6db90cbb2166a0098874e76d5c6ad9;hp=c36a1fd95f109a6d56f3bed68b085cf8e1b7d923;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;p=quassel.git diff --git a/src/uisupport/fontselector.h b/src/uisupport/fontselector.h index c36a1fd9..b090c233 100644 --- a/src/uisupport/fontselector.h +++ b/src/uisupport/fontselector.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 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 * @@ -30,24 +30,24 @@ class UISUPPORT_EXPORT FontSelector : public QWidget Q_OBJECT Q_PROPERTY(QFont selectedFont READ selectedFont WRITE setSelectedFont) -public : - FontSelector(QWidget *parent = nullptr); +public: + FontSelector(QWidget* parent = nullptr); - inline const QFont &selectedFont() const { return _font; } + inline const QFont& selectedFont() const { return _font; } public slots: - void setSelectedFont(const QFont &font); + void setSelectedFont(const QFont& font); signals: - void fontChanged(const QFont &); + void fontChanged(const QFont&); protected: - void changeEvent(QEvent *e); + void changeEvent(QEvent* e) override; protected slots: void chooseFont(); private: QFont _font; - QLabel *_demo; + QLabel* _demo; };