summaryrefslogtreecommitdiffstats
path: root/noatun/modules/metatag/metatag.h
blob: ff5c277fd8de03b985a1127d34f3f6280db2cc04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef NID3_H
#define NID3_H

#include <noatun/player.h>
#include <noatun/plugin.h>
#include <noatun/pref.h>
#include <noatuntags/tags.h>

#include <qobject.h>

class KFileMetaInfo;
class KAction;

class MetaTagLoader:public QObject, public Tags, public Plugin {
  Q_OBJECT
  public:
    MetaTagLoader();
    ~MetaTagLoader();

  public slots:
    bool update(PlaylistItem & item);
    void editTag();

  private:
    bool setProperty(KFileMetaInfo &info, PlaylistItem &item, const QString &key, const QString &property);
    int menuID;
	 KAction *mAction;
};

#endif