X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fserver%2FTorrentSession.hpp;h=6240024484d851198e60e973670df7989f491cb9;hb=4fda70ff265b1a5a1f37597f57253272a2b22fbf;hp=85a8c3fef0df5fd4497eb36acf31a49679f17cb2;hpb=2acb66424c20ea4ddd481b37e4b4dcee3acde632;p=qtrapids diff --git a/src/server/TorrentSession.hpp b/src/server/TorrentSession.hpp index 85a8c3f..6240024 100644 --- a/src/server/TorrentSession.hpp +++ b/src/server/TorrentSession.hpp @@ -42,30 +42,30 @@ class ServerSettings; class TorrentSession : public QObject { - Q_OBJECT; - Q_CLASSINFO("D-Bus Interface", "com.ixonos.qtrapids"); + Q_OBJECT; + Q_CLASSINFO("D-Bus Interface", "com.ixonos.qtrapids"); public: - TorrentSession(QObject *parent, QSettings *); + TorrentSession(QObject *parent, QSettings *); public slots: - void getState(); - void addTorrent(const QString &path, const QString &save_path - , qtrapids::ParamsMap_t other_params); - void removeTorrent(const QString &hash); + void getState(); + void addTorrent(const QString &path, const QString &save_path + , qtrapids::ParamsMap_t other_params); + void removeTorrent(const QString &hash); signals: - void alert(qtrapids::TorrentState info, qtrapids::ParamsMap_t other_info); + void alert(qtrapids::TorrentState info, qtrapids::ParamsMap_t other_info); private slots: - void on_alert(); + void on_alert(); private: - session_t btSession_; - AlertWaiterThread *alertWaiter_; - torrents_t torrents_; + session_t btSession_; + AlertWaiterThread *alertWaiter_; + torrents_t torrents_; }; } // namespace qtrapids