From e8f4f398c60060d4edd09065000d977cf38a9bcc Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 23 Jun 2010 20:27:32 +0200 Subject: Singleton cleanup The SmUberModel class wasn't needed at all, so I removed it. Instead I renamed SmUmberModelSingleton into a real singleton for all QAbstractItemModel*, though right now it only supports the SeriesTreeModel and FileTreeModel. But it should eventually evolve into a singleton for all QAbstractItemModel *. For this I renamed the class SmUberModelSingleton to SmModelSingleton. --- shemov.pro | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'shemov.pro') diff --git a/shemov.pro b/shemov.pro index dab8541..585a7b1 100644 --- a/shemov.pro +++ b/shemov.pro @@ -48,8 +48,7 @@ SOURCES = main.cpp \ archiveitemeditdialog.cpp \ smtreeitem.cpp \ smtreemodel.cpp \ - smubermodel.cpp \ - smubermodelsingleton.cpp \ + smmodelsingleton.cpp \ archivetreeview.cpp \ seriestreewidget.cpp \ seriestreemodel.cpp \ @@ -97,8 +96,7 @@ HEADERS = listitem.h \ archiveitemeditdialog.h \ smtreeitem.h \ smtreemodel.h \ - smubermodel.h \ - smubermodelsingleton.h \ + smmodelsingleton.h \ archivetreeview.h \ seriestreewidget.h \ seriestreemodel.h \ -- cgit v1.2.3-70-g09d2