Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fb2app.hpp « source - github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8715377cf4276c6608299d6d457856fdd83d2c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef FB2APP_H
#define FB2APP_H

#include <QApplication>

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);

    static QString lastCommit();

signals:
    void logMessage(QtMsgType type, const QString &message);
};


#endif // FB2APP_H