mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
37 lines
499 B
C
37 lines
499 B
C
|
#ifndef APPLICATION_H
|
||
|
#define APPLICATION_H
|
||
|
|
||
|
#include <stable.h>
|
||
|
|
||
|
#include "database.h"
|
||
|
#include "services/folderservice.h"
|
||
|
#include "models/foldermodel.h"
|
||
|
|
||
|
namespace jop {
|
||
|
|
||
|
class Application : public QGuiApplication {
|
||
|
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
Application(int &argc, char **argv);
|
||
|
|
||
|
private:
|
||
|
|
||
|
QQuickView view_;
|
||
|
Database db_;
|
||
|
FolderService folderService_;
|
||
|
FolderModel folderModel_;
|
||
|
QString selectedFolderId() const;
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
void view_currentFolderChanged();
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // APPLICATION_H
|