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

@ -72,6 +72,7 @@ public:
ServerInfo_ReplayMatch const* getReplayMatch(const QModelIndex &index) const;
void addMatchInfo(const ServerInfo_ReplayMatch &matchInfo);
void updateMatchInfo(int gameId, const ServerInfo_ReplayMatch &matchInfo);
void removeMatchInfo(int gameId);
};
class RemoteReplayList_TreeWidget : public QTreeView {
@ -86,6 +87,7 @@ public:
void refreshTree();
void addMatchInfo(const ServerInfo_ReplayMatch &matchInfo) { treeModel->addMatchInfo(matchInfo); }
void updateMatchInfo(int gameId, const ServerInfo_ReplayMatch &matchInfo) { treeModel->updateMatchInfo(gameId, matchInfo); }
void removeMatchInfo(int gameId) { treeModel->removeMatchInfo(gameId); }
};
#endif