diff --git a/qt/FileTreeItem.h b/qt/FileTreeItem.h index 079debc04..e4a7b74d3 100644 --- a/qt/FileTreeItem.h +++ b/qt/FileTreeItem.h @@ -10,7 +10,7 @@ #ifndef QTR_FILE_TREE_ITEM_H #define QTR_FILE_TREE_ITEM_H -#include +#include #include #include diff --git a/qt/FileTreeModel.h b/qt/FileTreeModel.h index 90b8d436b..92fd4714c 100644 --- a/qt/FileTreeModel.h +++ b/qt/FileTreeModel.h @@ -10,7 +10,7 @@ #ifndef QTR_FILE_TREE_MODEL_H #define QTR_FILE_TREE_MODEL_H -#include +#include #include #include diff --git a/qt/Formatter.h b/qt/Formatter.h index a5e9d357e..9d53cf824 100644 --- a/qt/Formatter.h +++ b/qt/Formatter.h @@ -10,7 +10,7 @@ #ifndef QTR_FORMATTER_H #define QTR_FORMATTER_H -#include // int64_t +#include // int64_t #include #include diff --git a/qt/FreeSpaceLabel.h b/qt/FreeSpaceLabel.h index 7c633ec9b..604910a35 100644 --- a/qt/FreeSpaceLabel.h +++ b/qt/FreeSpaceLabel.h @@ -10,7 +10,7 @@ #ifndef QTR_FREE_SPACE_LABEL_H #define QTR_FREE_SPACE_LABEL_H -#include +#include #include #include diff --git a/qt/Prefs.cc b/qt/Prefs.cc index 32fc21a62..1b4ab4093 100644 --- a/qt/Prefs.cc +++ b/qt/Prefs.cc @@ -7,9 +7,8 @@ * $Id$ */ -#include - #include +#include #include #include diff --git a/qt/TorrentModel.h b/qt/TorrentModel.h index a383ef4eb..7248ed59e 100644 --- a/qt/TorrentModel.h +++ b/qt/TorrentModel.h @@ -51,14 +51,14 @@ class TorrentModel: public QAbstractListModel virtual int rowCount (const QModelIndex& parent = QModelIndex ()) const; virtual QVariant data (const QModelIndex& index, int role = Qt::DisplayRole) const; - signals: - void torrentsAdded (QSet); - public slots: void updateTorrents (tr_variant * torrentList, bool isCompleteList); void removeTorrents (tr_variant * torrentList); void removeTorrent (int id); + signals: + void torrentsAdded (QSet); + private: typedef QMap id_to_row_t; typedef QMap id_to_torrent_t;