From 8618c1e26a2cfe7a1c5dddf0fec3bab9311a9b7a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 25 Jan 2021 20:49:44 +0000 Subject: fileops: added feature to execute external command (#1045) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9661 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/fileops/fileops.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/plugins/General/fileops/fileops.h') diff --git a/src/plugins/General/fileops/fileops.h b/src/plugins/General/fileops/fileops.h index 8940c3f17..1bd112913 100644 --- a/src/plugins/General/fileops/fileops.h +++ b/src/plugins/General/fileops/fileops.h @@ -47,22 +47,18 @@ public: RENAME, REMOVE, MOVE, + EXECUTE }; private slots: - void execAction(int n); + void execAction(); private: void copy(const QList &tracks, const QString &dest, const MetaDataFormatter *formatter); - void rename(const QList &tracks, const MetaDataFormatter *formatter, - PlayListModel *model); - void move(const QList &tracks, const QString &dest, const MetaDataFormatter *formatter, - PlayListModel *model); + void rename(const QList &tracks, const MetaDataFormatter *formatter, PlayListModel *model); + void move(const QList &tracks, const QString &dest, const MetaDataFormatter *formatter, PlayListModel *model); + void execute(const QList &tracks, const MetaDataFormatter *formatter, PlayListModel *model); bool isValid(PlayListTrack *track) const; - - QList m_types; - QStringList m_patterns; - QStringList m_destinations; }; #endif -- cgit v1.2.3-13-gbd6f