aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/peertablemodel.h')
-rw-r--r--src/qt/peertablemodel.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h
index d947e21240..385bf0e0c1 100644
--- a/src/qt/peertablemodel.h
+++ b/src/qt/peertablemodel.h
@@ -11,10 +11,12 @@
#include <QAbstractTableModel>
#include <QStringList>
-class PeerTablePriv;
class ClientModel;
+class PeerTablePriv;
+QT_BEGIN_NAMESPACE
class QTimer;
+QT_END_NAMESPACE
struct CNodeCombinedStats {
CNodeStats nodestats;
@@ -24,7 +26,7 @@ struct CNodeCombinedStats {
class NodeLessThan
{
public:
- NodeLessThan(int nColumn, Qt::SortOrder fOrder):
+ NodeLessThan(int nColumn, Qt::SortOrder fOrder) :
column(nColumn), order(fOrder) {}
bool operator()(const CNodeCombinedStats &left, const CNodeCombinedStats &right) const;
@@ -73,7 +75,6 @@ private:
QStringList columns;
PeerTablePriv *priv;
QTimer *timer;
-
};
#endif // PEERTABLEMODEL_H