Skip to content
Newer
Older
100644 25 lines (18 sloc) 496 Bytes
3e49988 @bmcdorman New template system and more refactoring
bmcdorman authored Oct 7, 2012
1 #include <QApplication>
2 #include <QTreeView>
3
4 #include "project_model.hpp"
5 #include "project.hpp"
6
7 using namespace Kiss;
8
9 int main(int argc, char *argv[])
10 {
11 QApplication app(argc, argv);
12
13 Kiss::Project::Model model;
14 model.addProject(Project::Project::load("/Volumes/Eve/Development/kipr/kiss"));
15 // model.addRootPath("/Volumes/Eve/Development/kipr/kiss");
16 model.addRootPath("/Volumes/Kevin");
17
18 QTreeView tree;
19 tree.setModel(&model);
20
21 tree.show();
22 tree.raise();
23
24 return app.exec();
25 }
Something went wrong with that request. Please try again.