fixed #43: add delete button to local dir view in deck storage tab and in remote dir view in replays tab

This commit is contained in:
Max-Wilhelm Bruker 2012-05-01 12:08:09 +02:00
parent 7c8b3fc5e3
commit e5a0a08569
14 changed files with 192 additions and 40 deletions

View file

@ -24,10 +24,12 @@ private:
RemoteReplayList_TreeWidget *serverDirView;
QGroupBox *leftGroupBox, *rightGroupBox;
QAction *aOpenLocalReplay, *aOpenRemoteReplay, *aDownload, *aKeep;
QAction *aOpenLocalReplay, *aDeleteLocalReplay, *aOpenRemoteReplay, *aDownload, *aKeep, *aDeleteRemoteReplay;
private slots:
void actOpenLocalReplay();
void actDeleteLocalReplay();
void actOpenRemoteReplay();
void openRemoteReplayFinished(const Response &r);
@ -37,6 +39,9 @@ private slots:
void actKeepRemoteReplay();
void keepRemoteReplayFinished(const Response &r, const CommandContainer &commandContainer);
void actDeleteRemoteReplay();
void deleteRemoteReplayFinished(const Response &r, const CommandContainer &commandContainer);
void replayAddedEventReceived(const Event_ReplayAdded &event);
signals:
void openReplay(GameReplay *replay);