aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/fileops/fileops.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-05-11 12:31:48 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-05-11 12:31:48 +0000
commit7c6e2dd399925d6c82ec3d55e6dc9e787cb252e6 (patch)
tree6a007307cac9dab20af39a9d1c69776379660fe5 /src/plugins/General/fileops/fileops.h
parentf12c647031485d06eb2eb46b74a10f097f141fca (diff)
downloadqmmp-7c6e2dd399925d6c82ec3d55e6dc9e787cb252e6.tar.gz
qmmp-7c6e2dd399925d6c82ec3d55e6dc9e787cb252e6.tar.bz2
qmmp-7c6e2dd399925d6c82ec3d55e6dc9e787cb252e6.zip
enabled file operations plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@936 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/fileops/fileops.h')
-rw-r--r--src/plugins/General/fileops/fileops.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/General/fileops/fileops.h b/src/plugins/General/fileops/fileops.h
index 946071e47..cd84e1d4b 100644
--- a/src/plugins/General/fileops/fileops.h
+++ b/src/plugins/General/fileops/fileops.h
@@ -25,14 +25,15 @@
class QAction;
class SoundCore;
+class PlayListItem;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
class FileOps : public General
{
-Q_OBJECT
+ Q_OBJECT
public:
FileOps(QObject *parent = 0);
@@ -42,7 +43,6 @@ public:
{
COPY = 0,
RENAME,
- MOVE,
REMOVE
};
@@ -50,6 +50,8 @@ private slots:
void execAction(int n);
private:
+ QString generateFileName(PlayListItem *item, QString pattern);
+ QString printTag(QString str, QString regExp, QString tagStr, QString fmt);
QList <int> m_types;
QStringList m_patterns;
QStringList m_destinations;