ui/commandhandlers/commoncommandhandlers/inc/glxcommandhandlereditimage.h
changeset 54 0f0f3f26f787
parent 50 a0f57508af73
equal deleted inserted replaced
52:a3a4c0de738e 54:0f0f3f26f787
    31 //Forward Declaration
    31 //Forward Declaration
    32 class XQAiwRequest;
    32 class XQAiwRequest;
    33 
    33 
    34 class GLX_COMMONCOMMANDHANDLERS_EXPORT GlxCommandHandlerEditImage : public GlxModelCommandHandler
    34 class GLX_COMMONCOMMANDHANDLERS_EXPORT GlxCommandHandlerEditImage : public GlxModelCommandHandler
    35 {
    35 {
       
    36   Q_OBJECT
    36   
    37   
    37 public:
    38 public:
    38     GlxCommandHandlerEditImage();
    39     GlxCommandHandlerEditImage();
    39     ~GlxCommandHandlerEditImage();
    40     ~GlxCommandHandlerEditImage();
    40     void executeCommand(int commandId,int collectionId, QList<QModelIndex> indexList = QList<QModelIndex>() );
    41     void executeCommand(int commandId,int collectionId, QList<QModelIndex> indexList = QList<QModelIndex>() );
    41     void doHandleUserAction(GlxMediaModel* model,QList<QModelIndex> indexList) const ;
    42     void doHandleUserAction(GlxMediaModel* model,QList<QModelIndex> indexList) const ;
    42 
    43 
       
    44 public slots:
       
    45     void handleOk(const QVariant& result);
       
    46     void handleError(int errorCode, const QString& errorMessage);
       
    47     void storeItems(const QModelIndex &parent, int start, int end);
       
    48 
       
    49 private:
       
    50     void clearMediaModel();
       
    51     
    43 private:
    52 private:
    44     XQAiwRequest* mReq;
    53     XQAiwRequest* mReq;
    45     XQApplicationManager mAppmgr;
    54     XQApplicationManager mAppmgr;
       
    55 	GlxMediaModel* mMediaModel;
    46 };
    56 };
    47 
    57 
    48 
    58 
    49 #endif /* GlxCommandHandlerEditImage_H_ */
    59 #endif /* GlxCommandHandlerEditImage_H_ */