#ifndef FB2APP_H #define FB2APP_H #include class FbApplication : public QApplication { Q_OBJECT public: FbApplication(int &argc, char **argv, int = QT_VERSION) : QApplication(argc, argv, QT_VERSION) {} void handleMessage(QtMsgType type, const char *msg); signals: void logMessage(const QString &message); }; #endif // FB2APP_H