X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fosxnotificationbackend.h;h=8a348a35ed15a4b6eebc42c19656c7fe567963b7;hp=55a8d58e09ff6e62e4d36585473dfa3fa863ce4a;hb=518cd2bc478ab3675a60ec46d3ef183cace0cae7;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e diff --git a/src/qtui/osxnotificationbackend.h b/src/qtui/osxnotificationbackend.h index 55a8d58e..8a348a35 100644 --- a/src/qtui/osxnotificationbackend.h +++ b/src/qtui/osxnotificationbackend.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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_