X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fknotificationbackend.h;h=f70b852384399ce7af9aab2b5e1db13524576ebd;hb=c144bdee0d8ab0c195b3088f5c6e57e372e526f7;hp=3b0a4af1f25f4f02cf48d7fd6d1b19f00283b817;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/qtui/knotificationbackend.h b/src/qtui/knotificationbackend.h index 3b0a4af1..f70b8523 100644 --- a/src/qtui/knotificationbackend.h +++ b/src/qtui/knotificationbackend.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 * @@ -34,11 +34,11 @@ class KNotificationBackend : public AbstractNotificationBackend Q_OBJECT public: - KNotificationBackend(QObject *parent = nullptr); + KNotificationBackend(QObject* parent = nullptr); - void notify(const Notification &) override; + void notify(const Notification&) override; void close(uint notificationId) override; - SettingsPage *createConfigWidget() const override; + SettingsPage* createConfigWidget() const override; private slots: void notificationActivated(); @@ -54,13 +54,12 @@ private: QList>> _notifications; }; - class KNotificationBackend::ConfigWidget : public SettingsPage { Q_OBJECT public: - ConfigWidget(QWidget *parent = nullptr); + ConfigWidget(QWidget* parent = nullptr); void save() override; void load() override; @@ -69,5 +68,5 @@ private slots: void widgetChanged(bool); private: - KNotifyConfigWidget *_widget; + KNotifyConfigWidget* _widget; };