mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Make methods called from static methods private
This commit is contained in:
parent
af6b07b780
commit
9b99bb172a
2 changed files with 5 additions and 8 deletions
|
@ -42,10 +42,6 @@ public:
|
||||||
return _sniAvailable || QSystemTrayIcon::isSystemTrayAvailable();
|
return _sniAvailable || QSystemTrayIcon::isSystemTrayAvailable();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
|
||||||
void handleSNIHostRegistered();
|
|
||||||
#endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
|
||||||
|
|
||||||
static void LibsLoaded();
|
static void LibsLoaded();
|
||||||
|
|
||||||
~MainWindow();
|
~MainWindow();
|
||||||
|
@ -115,6 +111,7 @@ private:
|
||||||
|
|
||||||
void setSNITrayIcon(int counter, bool muted);
|
void setSNITrayIcon(int counter, bool muted);
|
||||||
void attachToSNITrayIcon();
|
void attachToSNITrayIcon();
|
||||||
|
void handleSNIHostRegistered();
|
||||||
|
|
||||||
void handleSNIOwnerChanged(
|
void handleSNIOwnerChanged(
|
||||||
const QString &service,
|
const QString &service,
|
||||||
|
|
|
@ -238,10 +238,6 @@ public:
|
||||||
void close();
|
void close();
|
||||||
void setImage(const QString &imagePath);
|
void setImage(const QString &imagePath);
|
||||||
|
|
||||||
void notificationClosed(uint id, uint reason);
|
|
||||||
void actionInvoked(uint id, const QString &actionName);
|
|
||||||
void notificationReplied(uint id, const QString &text);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
GDBusConnection *_dbusConnection = nullptr;
|
GDBusConnection *_dbusConnection = nullptr;
|
||||||
base::weak_ptr<Manager> _manager;
|
base::weak_ptr<Manager> _manager;
|
||||||
|
@ -259,6 +255,10 @@ private:
|
||||||
guint _notificationClosedSignalId = 0;
|
guint _notificationClosedSignalId = 0;
|
||||||
NotificationId _id;
|
NotificationId _id;
|
||||||
|
|
||||||
|
void notificationClosed(uint id, uint reason);
|
||||||
|
void actionInvoked(uint id, const QString &actionName);
|
||||||
|
void notificationReplied(uint id, const QString &text);
|
||||||
|
|
||||||
static void signalEmitted(
|
static void signalEmitted(
|
||||||
GDBusConnection *connection,
|
GDBusConnection *connection,
|
||||||
const gchar *sender_name,
|
const gchar *sender_name,
|
||||||
|
|
Loading…
Add table
Reference in a new issue