projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typos
[quassel.git]
/
src
/
qtui
/
systraynotificationbackend.h
diff --git
a/src/qtui/systraynotificationbackend.h
b/src/qtui/systraynotificationbackend.h
index
82425c3
..
7130c03
100644
(file)
--- a/
src/qtui/systraynotificationbackend.h
+++ b/
src/qtui/systraynotificationbackend.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
18
by the Quassel Project *
+ * Copyright (C) 2005-20
22
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-31,20
+31,20
@@
class SystrayNotificationBackend : public AbstractNotificationBackend
Q_OBJECT
public:
Q_OBJECT
public:
- SystrayNotificationBackend(QObject
*
parent = nullptr);
+ SystrayNotificationBackend(QObject
*
parent = nullptr);
- void notify(const Notification
&) override;
+ void notify(const Notification&) override;
void close(uint notificationId) override;
void close(uint notificationId) override;
- SettingsPage
*
createConfigWidget() const override;
+ SettingsPage
*
createConfigWidget() const override;
protected:
protected:
- bool eventFilter(QObject
*obj, QEvent *
event) override;
+ bool eventFilter(QObject
* obj, QEvent*
event) override;
private slots:
private slots:
- void
n
otificationActivated(uint notificationId);
- void
n
otificationActivated(SystemTray::ActivationReason);
+ void
onN
otificationActivated(uint notificationId);
+ void
onN
otificationActivated(SystemTray::ActivationReason);
- void showBubbleChanged(const QVariant
&);
+ void showBubbleChanged(const QVariant&);
void updateToolTip();
private:
void updateToolTip();
private:
@@
-52,16
+52,15
@@
private:
bool _showBubble;
QList<Notification> _notifications;
bool _showBubble;
QList<Notification> _notifications;
- bool _blockActivation;
+ bool _blockActivation
{false}
;
};
};
-
class SystrayNotificationBackend::ConfigWidget : public SettingsPage
{
Q_OBJECT
public:
class SystrayNotificationBackend::ConfigWidget : public SettingsPage
{
Q_OBJECT
public:
- ConfigWidget(QWidget
*
parent = nullptr);
+ ConfigWidget(QWidget
*
parent = nullptr);
void save() override;
void load() override;
bool hasDefaults() const override;
void save() override;
void load() override;
bool hasDefaults() const override;
@@
-71,6
+70,6
@@
private slots:
void widgetChanged();
private:
void widgetChanged();
private:
- QCheckBox
*
_showBubbleBox;
+ QCheckBox
*
_showBubbleBox;
bool _showBubble;
};
bool _showBubble;
};