X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fosxnotificationbackend.h;h=8a348a35ed15a4b6eebc42c19656c7fe567963b7;hb=4e51500401db3c85dbe5e92e5e5c15b6e3c87787;hp=ed77115cab4adfebe81461a8a5f63da3a8f4c0d8;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/qtui/osxnotificationbackend.h b/src/qtui/osxnotificationbackend.h index ed77115c..8a348a35 100644 --- a/src/qtui/osxnotificationbackend.h +++ b/src/qtui/osxnotificationbackend.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 * @@ -29,14 +29,14 @@ class OSXNotificationBackend : public AbstractNotificationBackend Q_OBJECT public: - OSXNotificationBackend(QObject *parent = 0); + OSXNotificationBackend(QObject* parent = 0); - void notify(const Notification &); + void notify(const Notification&); void close(uint notificationId); - virtual SettingsPage *createConfigWidget() const; + virtual SettingsPage* createConfigWidget() const; private slots: - void enabledChanged(const QVariant &value); + void enabledChanged(const QVariant& value); private: class ConfigWidget; @@ -49,7 +49,7 @@ class OSXNotificationBackend::ConfigWidget : public SettingsPage Q_OBJECT public: - ConfigWidget(QWidget *parent = 0); + ConfigWidget(QWidget* parent = 0); void save(); void load(); bool hasDefaults() const; @@ -59,8 +59,8 @@ private slots: void widgetChanged(); private: - QCheckBox *_enabledBox; + QCheckBox* _enabledBox; bool _enabled; }; -#endif // OSXNOTIFICATIONBACKEND_H_ +#endif // OSXNOTIFICATIONBACKEND_H_