diff options
author | Arno <am@disconnect.de> | 2010-05-22 16:53:14 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-05-22 16:53:14 +0200 |
commit | 1ec8aa7048416a3267ee3ff654d078739644296c (patch) | |
tree | 8b36d12eaf8c244fca1c7afc83606a61a29bf111 /shemov.pro | |
parent | 4ec6696968f7536e067e3a728ffdb423f985ef5a (diff) | |
download | SheMov-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.pro | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |