aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-06-03 14:42:20 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-06-03 15:01:50 +0200
commitbbe1925ce3e627fd405d83e3c947e1f430a1d720 (patch)
treec90ef9fe03b5f4cbb30ccd23ab42b1c43b26bb1f /src/qt/peertablemodel.h
parent4c097f9669a28420da74b159a4d61e509da80d33 (diff)
downloadbitcoin-bbe1925ce3e627fd405d83e3c947e1f430a1d720.tar.xz
[Qt] style police and small addition in rpcconsole
- fix spaces, indentation and coding style glitches
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