fb2app.hpp 449 B

1234567891011121314151617181920212223
  1. #ifndef FB2APP_H
  2. #define FB2APP_H
  3. #include <QApplication>
  4. class FbApplication : public QApplication
  5. {
  6. Q_OBJECT
  7. public:
  8. FbApplication(int &argc, char **argv, int = QT_VERSION)
  9. : QApplication(argc, argv, QT_VERSION) {}
  10. void handleMessage(QtMsgType type, const QString& msg);
  11. static QString lastCommit();
  12. signals:
  13. void logMessage(QtMsgType type, const QString &message);
  14. };
  15. #endif // FB2APP_H