~neon/juk/master

« back to all changes in this revision

Viewing changes to filerenamer.h

  • Committer: Frerich Raabe
  • Date: 2003-04-09 18:43:41 UTC
  • Revision ID: git-v1:e34eae1b0d552eb7d6caf7db6397f6ccf70375cf
- 80% of the "Rename & Move files based on tag information" thing. Lacks
  a configuration dialog. Currently the KAction in juk.cpp is commented out
  so that the merkin doesn't get anal about stuff which does not work yet.
  Also, there's a return in FileRenamer::moveFile() because I don't trust it
  yet.

svn path=/trunk/kdemultimedia/juk/; revision=219338

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * filerenamer.h - (c) 2003 Frerich Raabe <raabe@kde.org>
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 */
 
9
#ifndef FILERENAMER_H
 
10
#define FILERENAMER_H
 
11
 
 
12
class PlaylistItem;
 
13
class QString;
 
14
 
 
15
class FileRenamer
 
16
{
 
17
        public:
 
18
                FileRenamer();
 
19
                FileRenamer(const PlaylistItem *item);
 
20
 
 
21
                void rename(const PlaylistItem *item);
 
22
 
 
23
        private:
 
24
                void moveFile(const QString &src, const QString &dest);
 
25
};
 
26
 
 
27
#endif // FILERENAMER_H
 
28
// vim:ts=4:sw=4:noet