Debian Codegraph @

src/dock/Dock.h

raw symbols SCIP
1 // SPDX-FileCopyrightText: Nheko Contributors
2 //
3 // SPDX-License-Identifier: GPL-3.0-or-later
4
5 #pragma once
6 #include <QObject>
7 #if defined(NHEKO_DBUS_SYS)
8 #include <QDBusServiceWatcher>
9 #include <QtDBus/QDBusArgument>
10 #include <QtDBus/QDBusInterface>
11 #endif
12
13 class Dock final : public QObject
14 {
15 Q_OBJECT
16 public:
17 Dock(QObject *parent = nullptr);
18 public slots:
19 void setUnreadCount(const int count);
20
21 private:
22 #if defined(NHEKO_DBUS_SYS)
23 void unitySetNotificationCount(const int count);
24 QDBusServiceWatcher *unityServiceWatcher = nullptr;
25 bool unityServiceAvailable = false;
26 #endif
27 };