summaryrefslogtreecommitdiffstats
path: root/noatun/modules/metatag/metatag.h
blob: af5ed015e873dbe9c7f75b7e1bee0c4fd966a36e (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
31
#ifndef NID3_H
#define NID3_H

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

#include <tqobject.h>

class KFileMetaInfo;
class KAction;

class MetaTagLoader:public TQObject, 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 TQString &key, const TQString &property);
    int menuID;
	 KAction *mAction;
};

#endif