Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4f45e7bdfd4a5ff17f5f8eaab90d017f > files > 929

albumshaper-2.1-6mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>AlbumShaper: contents.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>contents.h</h1><a href="contents_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==============================================</span>
<a name="l00002"></a>00002 <span class="comment">//  copyright            : (C) 2003-2005 by Will Stokes</span>
<a name="l00003"></a>00003 <span class="comment">//==============================================</span>
<a name="l00004"></a>00004 <span class="comment">//  This program is free software; you can redistribute it</span>
<a name="l00005"></a>00005 <span class="comment">//  and/or modify it under the terms of the GNU General</span>
<a name="l00006"></a>00006 <span class="comment">//  Public License as published by the Free Software</span>
<a name="l00007"></a>00007 <span class="comment">//  Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment">//  (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment">//==============================================</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef GUI_HELP_CONTENTS_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define GUI_HELP_CONTENTS_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;qtextbrowser.h&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;qsize.h&gt;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;qtextstream.h&gt;</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="comment">//=====================================</span>
<a name="l00021"></a>00021 <span class="comment"></span><span class="comment">//=====================================</span>
<a name="l00022"></a>00022 
<a name="l00024"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf">00024</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00025"></a>00025 {  
<a name="l00026"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfbe331817ddf8a37be1d59ea66ac17b1b">00026</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfbe331817ddf8a37be1d59ea66ac17b1b">BILLBOARD</a>,
<a name="l00027"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf06e752f7f7f6766f797fc1f8b6fd2b69">00027</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf06e752f7f7f6766f797fc1f8b6fd2b69">WHATS_NEW</a>,
<a name="l00028"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf84c9bd551ddf11b71a351f03f4a87e8e">00028</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf84c9bd551ddf11b71a351f03f4a87e8e">IMPORTING_AND_ORGANIZING</a>,
<a name="l00029"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfd7385de62096d6a536a31a3d6e198362">00029</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfd7385de62096d6a536a31a3d6e198362">ANNOTATING_ALBUMS</a>,
<a name="l00030"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf2b993c3678439330be0f8b1be9ceb25e">00030</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf2b993c3678439330be0f8b1be9ceb25e">FRAMING</a>,
<a name="l00031"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfffe47bcd944fa17e2a5083f8509ddc52">00031</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfffe47bcd944fa17e2a5083f8509ddc52">ENHANCING</a>,
<a name="l00032"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf88da70a25e729357519bfb03a0482f7c">00032</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf88da70a25e729357519bfb03a0482f7c">PRO_TOOLS</a>,
<a name="l00033"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf0df9883052a98eb7b6f41b483333b6b4">00033</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf0df9883052a98eb7b6f41b483333b6b4">MANIPULATING</a>,
<a name="l00034"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf9af40cf25698783a60eea7245d0d79e6">00034</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf9af40cf25698783a60eea7245d0d79e6">SAVING_AND_LOADING</a>,
<a name="l00035"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfd79196c8267d2aa80495945c209e7515">00035</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfd79196c8267d2aa80495945c209e7515">KEYBOARD_SHORTCUTS</a>,
<a name="l00036"></a><a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfef2863a469df3ea6871d640e3669a2f2">00036</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcfef2863a469df3ea6871d640e3669a2f2">INVALID</a>,
<a name="l00037"></a>00037 } <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf" title="Contents window widget.">HELP_PAGE</a>;
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="comment">//======================</span>
<a name="l00040"></a><a class="code" href="classContents.html">00040</a> <span class="keyword">class </span><a class="code" href="classContents.html">Contents</a> : <span class="keyword">public</span> <a class="code" href="classQTextBrowser.html">QTextBrowser</a>
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 Q_OBJECT
<a name="l00043"></a>00043   <span class="comment">//----------------------</span>
<a name="l00044"></a>00044 <span class="keyword">public</span>:
<a name="l00045"></a>00045   <a class="code" href="classContents.html#8db586777bb9159386faa0cda17b6b41">Contents</a>( QTextStream::Encoding <a class="code" href="classContents.html#46e6bfefde5f749a946a5b95236a8036">type</a>, 
<a name="l00046"></a>00046             QString <a class="code" href="classContents.html#80ced7e0efb354d77db92bf11e136485">saveCharSet</a>, QMimeSourceFactory* loadingMimeSource,
<a name="l00047"></a>00047             <a class="code" href="classQWidget.html">QWidget</a> *parent=0, <span class="keyword">const</span> <span class="keywordtype">char</span>* name=0);
<a name="l00048"></a>00048   
<a name="l00049"></a>00049   QSize <a class="code" href="classContents.html#4138625616f8cea8113ab41961603522">minimumSizeHint</a>() <span class="keyword">const</span>;
<a name="l00050"></a>00050   <span class="comment">//----------------------</span>
<a name="l00051"></a>00051 <span class="keyword">private</span>:
<a name="l00052"></a><a class="code" href="classContents.html#47f2bed2359e74d036cd165c2a221db8">00052</a>   QSize <a class="code" href="classContents.html#47f2bed2359e74d036cd165c2a221db8">optimalSize</a>;
<a name="l00053"></a>00053   QString <a class="code" href="classContents.html#9fa1f744dc3cec31395718c56f8b302d">filename</a>();
<a name="l00054"></a>00054   <span class="keywordtype">void</span> <a class="code" href="classContents.html#af89e15f8d5d5948e6c03f5bd2645530">generateHTML</a>(QTextStream::Encoding type, QString charSet);
<a name="l00055"></a>00055   <span class="keywordtype">void</span> <a class="code" href="classContents.html#fde898f141715d5697cd28842c07675b">printLink</a>( QTextStream&amp; stream, QString text, <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf" title="Contents window widget.">HELP_PAGE</a> anchor, QString anchorString );
<a name="l00056"></a><a class="code" href="classContents.html#f75bb1156377a0655539d84bde4098bf">00056</a>   <a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf" title="Contents window widget.">HELP_PAGE</a> <a class="code" href="classContents.html#f75bb1156377a0655539d84bde4098bf">currentPage</a>;
<a name="l00057"></a>00057   
<a name="l00058"></a><a class="code" href="classContents.html#46e6bfefde5f749a946a5b95236a8036">00058</a>   QTextStream::Encoding type;
<a name="l00059"></a><a class="code" href="classContents.html#80ced7e0efb354d77db92bf11e136485">00059</a>   QString saveCharSet;
<a name="l00060"></a>00060   <span class="comment">//----------------------</span>
<a name="l00061"></a>00061 signals:
<a name="l00062"></a>00062   <span class="keywordtype">void</span> <a class="code" href="classContents.html#35135fb03929490cee9d38e2001109f2">setPage</a>(<a class="code" href="contents_8h.html#9906b617670362187e0cb314384d6dcf" title="Contents window widget.">HELP_PAGE</a> page);
<a name="l00063"></a>00063   <span class="comment">//----------------------</span>
<a name="l00064"></a>00064 <span class="keyword">private</span> slots:  
<a name="l00065"></a>00065   <span class="keywordtype">void</span> <a class="code" href="classContents.html#c350f649568e8dc4a6c4092c3cd6dc63">handleAnchorClick</a>(<span class="keyword">const</span> QString &amp;name, <span class="keyword">const</span> QString &amp;link);
<a name="l00066"></a>00066 <span class="comment">//----------------------</span>
<a name="l00067"></a>00067 };
<a name="l00068"></a>00068 <span class="comment">//======================</span>
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="preprocessor">#endif //GUI_HELP_CONTENTS_H</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 23 02:34:25 2009 for AlbumShaper by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>