Use polymorphism to distinguish folder / file items in torrent content model

Step to address issue #24.
This commit is contained in:
Christophe Dumez
2012-08-26 18:10:32 +03:00
parent 30be83d445
commit 0fdacf4d54
13 changed files with 507 additions and 297 deletions

View File

@@ -123,6 +123,8 @@ nox {
transferlistfilterswidget.h \
torrentcontentmodel.h \
torrentcontentmodelitem.h \
torrentcontentmodelfolder.h \
torrentcontentmodelfile.h \
torrentcontentfiltermodel.h \
deletionconfirmationdlg.h \
statusbar.h \
@@ -148,6 +150,8 @@ nox {
transferlistwidget.cpp \
torrentcontentmodel.cpp \
torrentcontentmodelitem.cpp \
torrentcontentmodelfolder.cpp \
torrentcontentmodelfile.cpp \
torrentcontentfiltermodel.cpp \
sessionapplication.cpp \
torrentimportdlg.cpp \