FileTagger Class Reference

FileTagger 2.0 - a QObject which has properties, and permits the getting/setting of ID3V2 Tags in MP3 files. More...

#include <filetagger.h>

Inheritance diagram for FileTagger:

Inheritance graph
[legend]
Collaboration diagram for FileTagger:

Collaboration graph
[legend]
List of all members.

Public Slots

void setFilename (const QString &filename)
 Has the side-effect of reloading tag information from the MP3 file.
void setPreference (const QString &prefstr)
void setGenre (const QString &newGenre)
 Musicmatch lets you enter any string here, but most MP3 players will not recognize non-standard strings.
void setArtist (const QString &newArtist)
void setTrackNumber (int newTrackNumber)
void setTrackNumber (const QString &newTrackNumber)
void setTrackTitle (const QString &newTitle)
void setAlbumTitle (const QString &newAlbumTitle)
void setComment (const QString &newComment)
void commit ()
 save changes to mp3 id3 tag info
void reload ()
 Throw away changes to this, reaload mp3 information from file.

Public Member Functions

 FileTagger (QObject *parent)
 FileTagger (QString filename="")
bool isValid () const
QString getFilename () const
QString getPreference () const
QString getGenre () const
QString getArtist () const
QString getAlbumTitle () const
QString getTrackTitle () const
QString getTrackNumber () const
QString getComment () const
QString toString () const
QString getUrl () const
int getTrackTime () const

Properties

QString Artist []
QString TrackTitle []
QString AlbumTitle []
QString TrackNumber []
QString Genre []
QString Comment []
QString Preference []
QString Filename []
QString Url []
int TrackTime []

Detailed Description

FileTagger 2.0 - a QObject which has properties, and permits the getting/setting of ID3V2 Tags in MP3 files.

Serves as a facade, or wrapper, around the id3lib library. Requires id3lib library.

Author:
: Alan Ezust (ezust@users.sourceforge.net) March 15, 2004

Definition at line 21 of file filetagger.h.


Member Function Documentation

void FileTagger::setFilename ( const QString &  filename  )  [slot]

Has the side-effect of reloading tag information from the MP3 file.

Returns:
true there is a valid ID3 tag there

Definition at line 25 of file filetagger.cpp.

Referenced by FileTagger(), and reload().


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:44 2009 for oopapidocs by  doxygen 1.5.1