mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Remove Q_OBJECT dependency from ApiWrap.
Also remove it from SingleDelayedCall -> SingleQueuedInvocation.
This commit is contained in:
@@ -105,8 +105,10 @@ public:
|
||||
void handleAppActivated();
|
||||
void handleAppDeactivated();
|
||||
|
||||
// Temporary here, when all Images and Documents are owned by AuthSession it'll have this.
|
||||
void delayedDestroyLoader(std::unique_ptr<FileLoader> loader);
|
||||
void call_handleHistoryUpdate();
|
||||
void call_handleUnreadCounterUpdate();
|
||||
void call_handleDelayedPeerUpdates();
|
||||
void call_handleObservables();
|
||||
|
||||
signals:
|
||||
void peerPhotoDone(PeerId peer);
|
||||
@@ -114,7 +116,6 @@ signals:
|
||||
|
||||
public slots:
|
||||
void onAllKeysDestroyed();
|
||||
void onDelayedDestroyLoaders();
|
||||
|
||||
void photoUpdated(const FullMsgId &msgId, bool silent, const MTPInputFile &file);
|
||||
|
||||
@@ -125,11 +126,6 @@ public slots:
|
||||
void killDownloadSessions();
|
||||
void onAppStateChanged(Qt::ApplicationState state);
|
||||
|
||||
void call_handleHistoryUpdate();
|
||||
void call_handleUnreadCounterUpdate();
|
||||
void call_handleDelayedPeerUpdates();
|
||||
void call_handleObservables();
|
||||
|
||||
private:
|
||||
void destroyMtpKeys(MTP::AuthKeysList &&keys);
|
||||
void startLocalStorage();
|
||||
@@ -154,7 +150,4 @@ private:
|
||||
std::unique_ptr<AuthSession> _authSession;
|
||||
base::Observable<void> _authSessionChanged;
|
||||
|
||||
SingleDelayedCall _delayedLoadersDestroyer;
|
||||
std::vector<std::unique_ptr<FileLoader>> _delayedDestroyedLoaders;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user