mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +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();
|
||||
}
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
void handleSNIHostRegistered();
|
||||
#endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
|
||||
static void LibsLoaded();
|
||||
|
||||
~MainWindow();
|
||||
|
@ -115,6 +111,7 @@ private:
|
|||
|
||||
void setSNITrayIcon(int counter, bool muted);
|
||||
void attachToSNITrayIcon();
|
||||
void handleSNIHostRegistered();
|
||||
|
||||
void handleSNIOwnerChanged(
|
||||
const QString &service,
|
||||
|
|
|
@ -238,10 +238,6 @@ public:
|
|||
void close();
|
||||
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:
|
||||
GDBusConnection *_dbusConnection = nullptr;
|
||||
base::weak_ptr<Manager> _manager;
|
||||
|
@ -259,6 +255,10 @@ private:
|
|||
guint _notificationClosedSignalId = 0;
|
||||
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(
|
||||
GDBusConnection *connection,
|
||||
const gchar *sender_name,
|
||||
|
|
Loading…
Add table
Reference in a new issue