From 8bbed461a645f6d21625aaa5a2776535f7cd2f56 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 18 Sep 2019 15:48:41 +0800 Subject: [PATCH] Sort signal declarations in Session class --- src/base/bittorrent/session.h | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/base/bittorrent/session.h b/src/base/bittorrent/session.h index f6a03e508..800b287ba 100644 --- a/src/base/bittorrent/session.h +++ b/src/base/bittorrent/session.h @@ -449,43 +449,43 @@ namespace BitTorrent void handleTorrentTrackerError(TorrentHandle *const torrent, const QString &trackerUrl); signals: - void statsUpdated(); - void torrentsUpdated(const QVector &torrents); void addTorrentFailed(const QString &error); - void torrentAdded(BitTorrent::TorrentHandle *const torrent); - void torrentNew(BitTorrent::TorrentHandle *const torrent); - void torrentAboutToBeRemoved(BitTorrent::TorrentHandle *const torrent); - void torrentPaused(BitTorrent::TorrentHandle *const torrent); - void torrentResumed(BitTorrent::TorrentHandle *const torrent); - void torrentFinished(BitTorrent::TorrentHandle *const torrent); - void torrentFinishedChecking(BitTorrent::TorrentHandle *const torrent); - void torrentSavePathChanged(BitTorrent::TorrentHandle *const torrent); - void torrentCategoryChanged(BitTorrent::TorrentHandle *const torrent, const QString &oldCategory); - void torrentTagAdded(TorrentHandle *const torrent, const QString &tag); - void torrentTagRemoved(TorrentHandle *const torrent, const QString &tag); - void torrentSavingModeChanged(BitTorrent::TorrentHandle *const torrent); void allTorrentsFinished(); - void metadataLoaded(const BitTorrent::TorrentInfo &info); - void torrentMetadataLoaded(BitTorrent::TorrentHandle *const torrent); - void fullDiskError(BitTorrent::TorrentHandle *const torrent, const QString &msg); - void trackerSuccess(BitTorrent::TorrentHandle *const torrent, const QString &tracker); - void trackerWarning(BitTorrent::TorrentHandle *const torrent, const QString &tracker); - void trackerError(BitTorrent::TorrentHandle *const torrent, const QString &tracker); - void trackerAuthenticationRequired(BitTorrent::TorrentHandle *const torrent); - void recursiveTorrentDownloadPossible(BitTorrent::TorrentHandle *const torrent); - void speedLimitModeChanged(bool alternative); - void IPFilterParsed(bool error, int ruleCount); - void trackersAdded(BitTorrent::TorrentHandle *const torrent, const QVector &trackers); - void trackersRemoved(BitTorrent::TorrentHandle *const torrent, const QVector &trackers); - void trackersChanged(BitTorrent::TorrentHandle *const torrent); - void trackerlessStateChanged(BitTorrent::TorrentHandle *const torrent, bool trackerless); - void downloadFromUrlFailed(const QString &url, const QString &reason); - void downloadFromUrlFinished(const QString &url); void categoryAdded(const QString &categoryName); void categoryRemoved(const QString &categoryName); + void downloadFromUrlFailed(const QString &url, const QString &reason); + void downloadFromUrlFinished(const QString &url); + void fullDiskError(BitTorrent::TorrentHandle *const torrent, const QString &msg); + void IPFilterParsed(bool error, int ruleCount); + void metadataLoaded(const BitTorrent::TorrentInfo &info); + void recursiveTorrentDownloadPossible(BitTorrent::TorrentHandle *const torrent); + void speedLimitModeChanged(bool alternative); + void statsUpdated(); void subcategoriesSupportChanged(); void tagAdded(const QString &tag); void tagRemoved(const QString &tag); + void torrentAboutToBeRemoved(BitTorrent::TorrentHandle *const torrent); + void torrentAdded(BitTorrent::TorrentHandle *const torrent); + void torrentCategoryChanged(BitTorrent::TorrentHandle *const torrent, const QString &oldCategory); + void torrentFinished(BitTorrent::TorrentHandle *const torrent); + void torrentFinishedChecking(BitTorrent::TorrentHandle *const torrent); + void torrentMetadataLoaded(BitTorrent::TorrentHandle *const torrent); + void torrentNew(BitTorrent::TorrentHandle *const torrent); + void torrentPaused(BitTorrent::TorrentHandle *const torrent); + void torrentResumed(BitTorrent::TorrentHandle *const torrent); + void torrentSavePathChanged(BitTorrent::TorrentHandle *const torrent); + void torrentSavingModeChanged(BitTorrent::TorrentHandle *const torrent); + void torrentsUpdated(const QVector &torrents); + void torrentTagAdded(TorrentHandle *const torrent, const QString &tag); + void torrentTagRemoved(TorrentHandle *const torrent, const QString &tag); + void trackerAuthenticationRequired(BitTorrent::TorrentHandle *const torrent); + void trackerError(BitTorrent::TorrentHandle *const torrent, const QString &tracker); + void trackerlessStateChanged(BitTorrent::TorrentHandle *const torrent, bool trackerless); + void trackersAdded(BitTorrent::TorrentHandle *const torrent, const QVector &trackers); + void trackersChanged(BitTorrent::TorrentHandle *const torrent); + void trackersRemoved(BitTorrent::TorrentHandle *const torrent, const QVector &trackers); + void trackerSuccess(BitTorrent::TorrentHandle *const torrent, const QString &tracker); + void trackerWarning(BitTorrent::TorrentHandle *const torrent, const QString &tracker); private slots: void configureDeferred();