ui/commandhandlers/commandhandlerbase/src/glxmodelcommandhandler.cpp
author hgs
Thu, 14 Oct 2010 17:54:23 +0530
changeset 72 0a8e959402e5
parent 62 36d93b4dc635
permissions -rw-r--r--
201041

#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;
    }