X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fosxnotificationbackend.h;h=1120986773af6981fdcaf9a03d0664a877ffa0b6;hb=cc6e7c08709c4e761e2fd9c2e322751015497003;hp=55a8d58e09ff6e62e4d36585473dfa3fa863ce4a;hpb=04315f46a16fc3627218377071e008b6b9744992;p=quassel.git diff --git a/src/qtui/osxnotificationbackend.h b/src/qtui/osxnotificationbackend.h index 55a8d58e..11209867 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-2019 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_