equal
deleted
inserted
replaced
|
1 #include <glxmediamodel.h> |
|
2 #include <glxmodelcommandhandler.h> |
|
3 #include <glxmodelparm.h> |
|
4 |
|
5 GlxModelCommandHandler::GlxModelCommandHandler() |
|
6 { |
|
7 } |
|
8 |
|
9 GlxModelCommandHandler::~GlxModelCommandHandler() |
|
10 { |
|
11 } |
|
12 |
|
13 void GlxModelCommandHandler::executeCommand(int commandId, int collectionId,QList<QModelIndex> indexList) |
|
14 { |
|
15 GlxModelParm modelParm (collectionId, 0); |
|
16 GlxMediaModel* mediaModel = new GlxMediaModel (modelParm); |
|
17 doHandleUserAction(mediaModel,indexList); |
|
18 delete mediaModel; |
|
19 } |