summaryrefslogtreecommitdiff
path: root/dgedit/filelist.h
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-05-02 17:30:05 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-05-02 17:30:05 +0200
commitb6405171c6a74a5227555a9b75c03f88a5f21ed2 (patch)
treef1dea3760f10c461c29e831efe1e1e3570a09f4c /dgedit/filelist.h
parenta5ea8e72059ec9fb7145c7117bd9ea77dee0eee7 (diff)
Added remove all files action to filelist.
Diffstat (limited to 'dgedit/filelist.h')
-rw-r--r--dgedit/filelist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dgedit/filelist.h b/dgedit/filelist.h
index 60d1693..2ca277c 100644
--- a/dgedit/filelist.h
+++ b/dgedit/filelist.h
@@ -42,6 +42,7 @@ signals:
void masterFileChanged(QString filename);
void fileAdded(QString file, QString name);
void fileRemoved(QString file, QString name);
+ void allFilesRemoved();
void nameChanged(QString file, QString name);
public slots:
@@ -52,6 +53,7 @@ private slots:
void selectionChanged(QListWidgetItem *item);
void setMaster();
void removeFile();
+ void removeAllFiles();
void editName();
void setItemName(QListWidgetItem *i, QString name);
@@ -68,6 +70,7 @@ private:
QAction *setMasterAction;
QAction *editAction;
QAction *removeAction;
+ QAction *removeAllAction;
QListWidgetItem *activeItem;
};