oopapidocs  2.0
metadataobject.h
00001 #ifndef METADATAOBJECT_H
00002 #define METADATAOBJECT_H
00003 
00004 #include "metadatavalue.h"
00005 #include "dataobject.h"
00006 #include <QImage>
00010 class METADATAEXPORT MetaDataObject :
00011         public DataObject, public MetaDataValue {
00012     Q_OBJECT
00013     Q_PROPERTY( QString Artist READ
00014                 artist WRITE setArtist );
00015     Q_PROPERTY( QString TrackTitle
00016                 READ trackTitle WRITE setTrackTitle );
00017     Q_PROPERTY( QString AlbumTitle READ
00018                 albumTitle WRITE setAlbumTitle );
00019     Q_PROPERTY( QString TrackNumber
00020                READ trackNumber WRITE setTrackNumber );
00021     Q_PROPERTY( QString Genre READ
00022                 genre WRITE setGenre);
00023     Q_PROPERTY( QTime TrackTime
00024                 READ trackTime WRITE setTrackTime);
00025     Q_PROPERTY( QString Comment READ
00026                 comment WRITE setComment);
00027     Q_PROPERTY( Preference Preference READ preference WRITE setPreference);
00028     Q_PROPERTY( QString FileName READ
00029                 fileName WRITE setFileName );
00030     Q_PROPERTY( QImage Image READ image WRITE setImage);
00031     
00032     Q_PROPERTY(QUrl Url READ url WRITE setUrl);
00033 
00034 public:
00035     typedef MetaDataValue SUPER;
00036     explicit MetaDataObject(QObject* parent=0) : DataObject(parent)
00037         { m_isNull = true; }
00038 //end
00039 
00040 public:
00041     virtual void setUrl(QUrl url);
00042 
00043     MetaDataObject& operator=(const MetaDataValue& other); 
00044 
00045     MetaDataObject& operator=(const MetaDataObject& other);   
00046 
00047 };
00048 
00049 
00050 #endif // METADATAOBJECT_H
 All Classes Namespaces Functions Enumerations