itunesdb::ItunesDBDataSource Class Reference

#include <itunesdbdatasource.h>

List of all members.

Public Member Functions

virtual void writeInit ()=0
virtual void writeFinished ()=0
virtual Q_UINT32 getNumPlaylists ()=0
virtual Q_UINT32 getNumTracks ()=0
virtual TrackPtrListgetTrackList ()=0
virtual PlaylistfirstPlaylist ()=0
virtual PlaylistnextPlaylist ()=0
virtual void handleError (const QString &message)=0
virtual const QString & getTitle ()=0


Detailed Description

ItunesDBDataSource is the interface that delivers data to an iTunesDBWriter
Author:
Michael Schulze


Member Function Documentation

virtual void itunesdb::ItunesDBDataSource::writeInit (  )  [pure virtual]

called when the ItunesDBWriter starts to write

virtual void itunesdb::ItunesDBDataSource::writeFinished (  )  [pure virtual]

called when the ItunesDBWriter is done writing the database

virtual Q_UINT32 itunesdb::ItunesDBDataSource::getNumPlaylists (  )  [pure virtual]

returns the number of playlists that need to be written

virtual Q_UINT32 itunesdb::ItunesDBDataSource::getNumTracks (  )  [pure virtual]

returns the number of tracks that need to be written

virtual TrackPtrList& itunesdb::ItunesDBDataSource::getTrackList (  )  [pure virtual]

Returns a list with all the tracks

virtual Playlist* itunesdb::ItunesDBDataSource::firstPlaylist (  )  [pure virtual]

returns the first playlist and sets the playlist position for nextPlaylist() to the first playlist

virtual Playlist* itunesdb::ItunesDBDataSource::nextPlaylist (  )  [pure virtual]

returns the next playlist (see firstPlaylist())

virtual void itunesdb::ItunesDBDataSource::handleError ( const QString &  message  )  [pure virtual]

gets called if an error occured during the write process. The write process ends after a call to this method.

virtual const QString& itunesdb::ItunesDBDataSource::getTitle (  )  [pure virtual]

Returns the title of the master Playlist (thus the title of the iPod)


The documentation for this class was generated from the following file:
Generated on Tue Dec 12 16:39:27 2006 for libqtpod.kdevelop by  doxygen 1.5.1