1234567891011121314151617181920 |
- #ifndef APPDATA_H
- #define APPDATA_H
- #include <QtDBus/QtDBus>
- #include <QtDeclarative/QDeclarativeView>
- #include <QtGui/QMainWindow>
- class AppData : public QObject
- {
- Q_OBJECT
- public:
- Q_INVOKABLE void close() {
- qApp->quit();
- }
- };
- #endif // APPDATA_H
|