ui/commandhandlers/commandhandlerbase/src/glxmodelcommandhandler.cpp
author hgs
Sat, 04 Sep 2010 11:36:24 +0530
changeset 62 36d93b4dc635
parent 44 aa2fa096cbfb
permissions -rw-r--r--
201035

#include <glxmediamodel.h>
#include <glxmodelcommandhandler.h>
#include <glxmodelparm.h>

GlxModelCommandHandler::GlxModelCommandHandler()
    {
    }

GlxModelCommandHandler::~GlxModelCommandHandler()
    {
    }

void GlxModelCommandHandler::executeCommand(int commandId, int collectionId,QList<QModelIndex> indexList)
    {
    Q_UNUSED(commandId);
    GlxModelParm modelParm (collectionId, 0);
    GlxMediaModel* mediaModel = new GlxMediaModel (modelParm);
    doHandleUserAction(mediaModel,indexList);
    delete mediaModel;
    }