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-08 21:45:32 +01:00
parent 86406daeca
commit 128eefa0f8
5 changed files with 7 additions and 8 deletions

View file

@ -82,4 +82,4 @@ signals:
void verifyMessage(QString addr);
};
#endif // ADDRESSBOOKDIALOG_H
#endif // ADDRESSBOOKPAGE_H

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

View file

@ -177,4 +177,4 @@ private slots:
void toggleHidden();
};
#endif
#endif // BITCOINGUI_H

View file

@ -1,7 +1,7 @@
#ifndef MACDOCKICONHANDLER_H
#define MACDOCKICONHANDLER_H
#include <QtCore/QObject>
#include <QObject>
class QMenu;
class QIcon;

View file

@ -81,5 +81,4 @@ public slots:
friend class TransactionTablePriv;
};
#endif
#endif // TRANSACTIONTABLEMODEL_H