Browse Source

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
0.8
Philip Kaufmann 12 years ago
parent
commit
128eefa0f8
  1. 2
      src/qt/addressbookpage.h
  2. 6
      src/qt/bitcoinamountfield.h
  3. 2
      src/qt/bitcoingui.h
  4. 2
      src/qt/macdockiconhandler.h
  5. 3
      src/qt/transactiontablemodel.h

2
src/qt/addressbookpage.h

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

6
src/qt/bitcoinamountfield.h

@ -1,5 +1,5 @@
#ifndef BITCOINFIELD_H #ifndef BITCOINAMOUNTFIELD_H
#define BITCOINFIELD_H #define BITCOINAMOUNTFIELD_H
#include <QWidget> #include <QWidget>
@ -57,4 +57,4 @@ private slots:
}; };
#endif // BITCOINFIELD_H #endif // BITCOINAMOUNTFIELD_H

2
src/qt/bitcoingui.h

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

2
src/qt/macdockiconhandler.h

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

3
src/qt/transactiontablemodel.h

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

Loading…
Cancel
Save