<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>libqtpod: itunesdb::ItunesDBParser Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.0 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <div class="nav"> <b>itunesdb</b>::<a class="el" href="classitunesdb_1_1ItunesDBParser.html">ItunesDBParser</a></div> <h1>itunesdb::ItunesDBParser Class Reference</h1><!-- doxytag: class="itunesdb::ItunesDBParser" --><code>#include <<a class="el" href="itunesdbparser_8h-source.html">itunesdbparser.h</a>></code> <p> <a href="classitunesdb_1_1ItunesDBParser-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitunesdb_1_1ItunesDBParser.html#8bc7c68390ebf62ddc2b32b72556f0b7">ItunesDBParser</a> (<a class="el" href="classitunesdb_1_1ItunesDBListener.html">ItunesDBListener</a> &listener)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitunesdb_1_1ItunesDBParser.html#f252367fdac65138a78a50ee2682d325">parse</a> (QFile &file)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitunesdb_1_1ItunesDBParser.html#61af8a16a7f8e494a6fdf4478af97666">parsePlaycount</a> (QFile &file)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitunesdb_1_1ItunesDBParser.html#23638b36366b5dce1320aa9c8ea96e16">parseOTG</a> (QFile &file)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> parses an iTunesDB file and calls the appropriate methods of a given ITunesDBListener <dl class="author" compact><dt><b>Author:</b></dt><dd>Michael Schulze </dd></dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="8bc7c68390ebf62ddc2b32b72556f0b7"></a><!-- doxytag: member="itunesdb::ItunesDBParser::ItunesDBParser" ref="8bc7c68390ebf62ddc2b32b72556f0b7" args="(ItunesDBListener &listener)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itunesdb::ItunesDBParser::ItunesDBParser </td> <td>(</td> <td class="paramtype"><a class="el" href="classitunesdb_1_1ItunesDBListener.html">ItunesDBListener</a> & </td> <td class="paramname"> <em>listener</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> creates a new parser that calls the appropriate methods on the given listener during the parse process </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="f252367fdac65138a78a50ee2682d325"></a><!-- doxytag: member="itunesdb::ItunesDBParser::parse" ref="f252367fdac65138a78a50ee2682d325" args="(QFile &file)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itunesdb::ItunesDBParser::parse </td> <td>(</td> <td class="paramtype">QFile & </td> <td class="paramname"> <em>file</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> parses the given iTunesDB file <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>the file that should be parsed. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="61af8a16a7f8e494a6fdf4478af97666"></a><!-- doxytag: member="itunesdb::ItunesDBParser::parsePlaycount" ref="61af8a16a7f8e494a6fdf4478af97666" args="(QFile &file)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itunesdb::ItunesDBParser::parsePlaycount </td> <td>(</td> <td class="paramtype">QFile & </td> <td class="paramname"> <em>file</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> parses the given Playcount File the iPod writes playcounts NOT into the iTunesDB but to a file called "Play Count" <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>the file that should be parsed. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="23638b36366b5dce1320aa9c8ea96e16"></a><!-- doxytag: member="itunesdb::ItunesDBParser::parseOTG" ref="23638b36366b5dce1320aa9c8ea96e16" args="(QFile &file)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itunesdb::ItunesDBParser::parseOTG </td> <td>(</td> <td class="paramtype">QFile & </td> <td class="paramname"> <em>file</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> parses the given On the Go <a class="el" href="classitunesdb_1_1Playlist.html">Playlist</a> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>the file that should be parsed. </td></tr> </table> </dl> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li>libqtpod/src/<a class="el" href="itunesdbparser_8h-source.html">itunesdbparser.h</a><li>libqtpod/src/itunesdbparser.cpp</ul> <hr size="1"><address style="align: right;"><small>Generated on Wed Dec 19 00:15:19 2007 for libqtpod by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address> </body> </html>