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
This commit is contained in:
Philip Kaufmann
2012-11-12 23:42:55 +00:00
committed by Luke Dashjr
parent deb9f100a0
commit 220de9aafb
5 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -56,4 +56,4 @@ private slots:
void selectionChanged();
};
#endif // ADDRESSBOOKDIALOG_H
#endif // ADDRESSBOOKPAGE_H
+3 -3
View File
@@ -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
+1 -1
View File
@@ -157,4 +157,4 @@ private slots:
void unlockWallet();
};
#endif
#endif // BITCOINGUI_H
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef MACDOCKICONHANDLER_H
#define MACDOCKICONHANDLER_H
#include <QtCore/QObject>
#include <QObject>
class QMenu;
class QIcon;
+1 -2
View File
@@ -80,5 +80,4 @@ public slots:
friend class TransactionTablePriv;
};
#endif
#endif // TRANSACTIONTABLEMODEL_H