aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2012-11-08 21:45:32 +0100
committerLuke Dashjr <[email protected]>2012-11-12 23:42:55 +0000
commit220de9aafbdb76fa620531fc5c0b01ffa6616d7b (patch)
treed9386103005cde390055693c2602a8b7ab1650da /src
parentfix some double-spaces in strings (diff)
downloaddiscoin-220de9aafbdb76fa620531fc5c0b01ffa6616d7b.tar.xz
discoin-220de9aafbdb76fa620531fc5c0b01ffa6616d7b.zip
Qt: small header changes / fixes
- ensure header inclusion guard is named after the header file - add missing comments at the end of some inclusion guards - add a small Qt5 compatibility fix in macdockiconhandler.h
Diffstat (limited to 'src')
-rw-r--r--src/qt/addressbookpage.h2
-rw-r--r--src/qt/bitcoinamountfield.h6
-rw-r--r--src/qt/bitcoingui.h2
-rw-r--r--src/qt/macdockiconhandler.h2
-rw-r--r--src/qt/transactiontablemodel.h3
5 files changed, 7 insertions, 8 deletions
diff --git a/src/qt/addressbookpage.h b/src/qt/addressbookpage.h
index 1a97f3d60..d885c768c 100644
--- a/src/qt/addressbookpage.h
+++ b/src/qt/addressbookpage.h
@@ -56,4 +56,4 @@ private slots:
void selectionChanged();
};
-#endif // ADDRESSBOOKDIALOG_H
+#endif // ADDRESSBOOKPAGE_H
diff --git a/src/qt/bitcoinamountfield.h b/src/qt/bitcoinamountfield.h
index 66792e00a..4797c4c88 100644
--- a/src/qt/bitcoinamountfield.h
+++ b/src/qt/bitcoinamountfield.h
@@ -1,5 +1,5 @@
-#ifndef BITCOINFIELD_H
-#define BITCOINFIELD_H
+#ifndef BITCOINAMOUNTFIELD_H
+#define BITCOINAMOUNTFIELD_H
#include <QWidget>
@@ -57,4 +57,4 @@ private slots:
};
-#endif // BITCOINFIELD_H
+#endif // BITCOINAMOUNTFIELD_H
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h
index 65340775c..f56eecf01 100644
--- a/src/qt/bitcoingui.h
+++ b/src/qt/bitcoingui.h
@@ -157,4 +157,4 @@ private slots:
void unlockWallet();
};
-#endif
+#endif // BITCOINGUI_H
diff --git a/src/qt/macdockiconhandler.h b/src/qt/macdockiconhandler.h
index d02c148f9..d39c78023 100644
--- a/src/qt/macdockiconhandler.h
+++ b/src/qt/macdockiconhandler.h
@@ -1,7 +1,7 @@
#ifndef MACDOCKICONHANDLER_H
#define MACDOCKICONHANDLER_H
-#include <QtCore/QObject>
+#include <QObject>
class QMenu;
class QIcon;
diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h
index 3efeaa61b..bcd35b80e 100644
--- a/src/qt/transactiontablemodel.h
+++ b/src/qt/transactiontablemodel.h
@@ -80,5 +80,4 @@ public slots:
friend class TransactionTablePriv;
};
-#endif
-
+#endif // TRANSACTIONTABLEMODEL_H