From bd6a6a7c42dabe2d0d86e309a6dc6b04de7c0a10 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 6 Jul 2013 08:06:52 +0200 Subject: Basic ArchiveFilesModel and ArchiveController Implement a new file model for the archive. It's quite basic at this stage, but finally something happens when clicking the archive tree. Also, implement the interaction (signal -> slot) between the views and models in an explicit controller to prevent the mess from the old archive. --- shemov.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shemov.pro') diff --git a/shemov.pro b/shemov.pro index 1bae612..b6f83d0 100644 --- a/shemov.pro +++ b/shemov.pro @@ -45,7 +45,8 @@ SOURCES = main.cpp \ framecache.cpp \ smtreeview.cpp \ archivemodel.cpp \ - archiveview.cpp + archiveview.cpp \ + archivecontroller.cpp HEADERS = \ filesystemdirproxy.h \ filesystemwidget.h \ @@ -86,6 +87,7 @@ HEADERS = \ framecache.h \ smtreeview.h \ archivemodel.h \ - archiveview.h + archiveview.h \ + archivecontroller.h LIBS += -lmagic -lXfixes -lX11 RESOURCES = shemov.qrc -- cgit v1.2.3-70-g09d2