summaryrefslogtreecommitdiffstats
path: root/shemov.pro
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-22 16:53:14 +0200
committerArno <am@disconnect.de>2010-05-22 16:53:14 +0200
commit1ec8aa7048416a3267ee3ff654d078739644296c (patch)
tree8b36d12eaf8c244fca1c7afc83606a61a29bf111 /shemov.pro
parent4ec6696968f7536e067e3a728ffdb423f985ef5a (diff)
downloadSheMov-1ec8aa7048416a3267ee3ff654d078739644296c.tar.gz
SheMov-1ec8aa7048416a3267ee3ff654d078739644296c.tar.bz2
SheMov-1ec8aa7048416a3267ee3ff654d078739644296c.zip
Use singletons for models
Created singletons for the ListModel* and MovieModel*. There should only be one of each and they were passed around quite a lot.
Diffstat (limited to 'shemov.pro')
-rw-r--r--shemov.pro10
1 files changed, 8 insertions, 2 deletions
diff --git a/shemov.pro b/shemov.pro
index 6be5091..98de832 100644
--- a/shemov.pro
+++ b/shemov.pro
@@ -39,7 +39,10 @@ SOURCES = main.cpp \
fileinfomodel.cpp \
actorcountmodel.cpp \
graphbarwidget.cpp \
- programconfigurator.cpp
+ programconfigurator.cpp \
+ addmoviewizard.cpp \
+ listmodelsingleton.cpp \
+ moviemodelsingleton.cpp
HEADERS = listitem.h \
listmodel.h \
movieitem.h \
@@ -74,6 +77,9 @@ HEADERS = listitem.h \
fileinfomodel.h \
actorcountmodel.h \
graphbarwidget.h \
- programconfigurator.h
+ programconfigurator.h \
+ addmoviewizard.h \
+ listmodelsingleton.h \
+ moviemodelsingleton.h
LIBS += -lmagic
RESOURCES = shemov.qrc