1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/QtClient/JoplinQtClient/application.h
2016-12-11 16:09:39 +00:00

37 lines
499 B
C++
Executable File

#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