/***************************************************************************
- * Copyright (C) 2013 by the Quassel Project *
+ * Copyright (C) 2013-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
Q_OBJECT
public:
- DockManagerNotificationBackend(QObject *parent = 0);
+ DockManagerNotificationBackend(QObject *parent = nullptr);
void notify(const Notification &);
void close(uint notificationId);
private:
class ConfigWidget;
bool _enabled;
+ bool _available;
QDBusConnection _bus;
QDBusInterface *_dock;
QDBusInterface *_item;
Q_OBJECT
public:
- ConfigWidget(QWidget *parent = 0);
+ ConfigWidget(bool enabled, QWidget *parent = nullptr);
void save();
void load();