formatting is changed according to last astyle settings
[qtrapids] / src / engine / QTorrentHandle.h
index e68a940..e0d797d 100644 (file)
@@ -41,47 +41,46 @@ class QTorrentHandle
 {
 public:
 
-    enum State
-    {
-        QUEUED_FOR_CHECKING = TorrentStatus::queued_for_checking,
-        CHECKING_FILES,
-        DOWNLOADING_METADATA,
-        DOWNLOADING,
-        FINISHED,
-        SEEDING,
-        ALLOCATING,
-        UNSPECIFIED
-    };
+       enum State {
+               QUEUED_FOR_CHECKING = TorrentStatus::queued_for_checking,
+               CHECKING_FILES,
+               DOWNLOADING_METADATA,
+               DOWNLOADING,
+               FINISHED,
+               SEEDING,
+               ALLOCATING,
+               UNSPECIFIED
+       };
 
-    QTorrentHandle(libtorrent::torrent_handle handle);
-    ~QTorrentHandle();
+       QTorrentHandle(libtorrent::torrent_handle handle);
+       ~QTorrentHandle();
 
 
 
-    TorrentInfo const& getTorrentInfo() const;
+       TorrentInfo const& getTorrentInfo() const;
 
-    bool isValid() const;
+       bool isValid() const;
 
-    QString name() const;
-    size_t getTotalSize() const;
-    QTorrentHandle::State state() const;
-    float progress() const;
-    float uploadRate() const;
-    float downloadRate() const;
-    qint32 numSeeds() const;
-    qint32 numLeeches() const;
-    qint32 ratio() const;
+       QString name() const;
+       size_t getTotalSize() const;
+       QTorrentHandle::State state() const;
+       float progress() const;
+       float uploadRate() const;
+       float downloadRate() const;
+       qint32 numSeeds() const;
+       qint32 numLeeches() const;
+       qint32 ratio() const;
 
-    TorrentHandle getHandle() const;
+       TorrentHandle getHandle() const;
 
-    bool operator==(QTorrentHandle const& h) const;
-    bool operator<(QTorrentHandle const& h) const;
+       bool operator==(QTorrentHandle const& h) const;
+       bool operator<(QTorrentHandle const& h) const;
 
 private:
-    QTorrentHandle(); // Prevent default construct.
-    TorrentHandle torrentHandle_;
+       QTorrentHandle(); // Prevent default construct.
+       TorrentHandle torrentHandle_;
 
-    TorrentStatus status() const;
+       TorrentStatus status() const;
 
 };