Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 4272c97b1af3db3f39a3b697bcba7e48 > files > 620

albumshaper-2.1-7mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AlbumShaper: Manipulating Class Reference</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.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Manipulating Class Reference</h1><!-- doxytag: class="Manipulating" -->
<p><code>#include &lt;<a class="el" href="manipulating_8h_source.html">manipulating.h</a>&gt;</code></p>

<p><a href="classManipulating-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classManipulating.html#aa9b2cacffefc9385a19d1891d47c702d">filename</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the html filename  <a href="#aa9b2cacffefc9385a19d1891d47c702d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classManipulating.html#a09051df4db5db6f5ef2f0b01d149d04f">generateHTML</a> (QTextStream::Encoding type, QString charSet)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">generates the html file  <a href="#a09051df4db5db6f5ef2f0b01d149d04f"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="manipulating_8h_source.html#l00016">16</a> of file <a class="el" href="manipulating_8h_source.html">manipulating.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa9b2cacffefc9385a19d1891d47c702d"></a><!-- doxytag: member="Manipulating::filename" ref="aa9b2cacffefc9385a19d1891d47c702d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Manipulating::filename </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the html filename </p>

<p>Definition at line <a class="el" href="manipulating_8cpp_source.html#l00024">24</a> of file <a class="el" href="manipulating_8cpp_source.html">manipulating.cpp</a>.</p>

<p>References <a class="el" href="config_8cpp_source.html#l00023">TEMP_DIR</a>.</p>

<p>Referenced by <a class="el" href="manipulating_8cpp_source.html#l00029">generateHTML()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00181">HelpWindow::showCurrentPage()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00025"></a>00025 {
<a name="l00026"></a>00026   <span class="keywordflow">return</span> QString(<span class="stringliteral">&quot;%1/manipulating.html&quot;</span>).arg(<a class="code" href="config_8cpp.html#a8e603096352908a187b5364096a8d581">TEMP_DIR</a>);
<a name="l00027"></a>00027 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a09051df4db5db6f5ef2f0b01d149d04f"></a><!-- doxytag: member="Manipulating::generateHTML" ref="a09051df4db5db6f5ef2f0b01d149d04f" args="(QTextStream::Encoding type, QString charSet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Manipulating::generateHTML </td>
          <td>(</td>
          <td class="paramtype">QTextStream::Encoding&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>charSet</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>generates the html file </p>

<p>Definition at line <a class="el" href="manipulating_8cpp_source.html#l00029">29</a> of file <a class="el" href="manipulating_8cpp_source.html">manipulating.cpp</a>.</p>

<p>References <a class="el" href="manipulating_8cpp_source.html#l00024">filename()</a>, and <a class="el" href="config_8cpp_source.html#l00018">IMAGE_PATH</a>.</p>

<p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow::HelpWindow()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00030"></a>00030 {
<a name="l00031"></a>00031   <span class="comment">//create/open html file</span>
<a name="l00032"></a>00032   QFile file( <a class="code" href="classManipulating.html#aa9b2cacffefc9385a19d1891d47c702d" title="returns the html filename">filename</a>() );
<a name="l00033"></a>00033   <span class="keywordflow">if</span>(file.open(IO_WriteOnly))
<a name="l00034"></a>00034   {
<a name="l00035"></a>00035     <span class="comment">//-----</span>
<a name="l00036"></a>00036     QTextStream stream;
<a name="l00037"></a>00037     stream.setEncoding( type );
<a name="l00038"></a>00038     stream.setDevice( &amp;file );
<a name="l00039"></a>00039     <span class="comment">//-----</span>
<a name="l00040"></a>00040     stream &lt;&lt; <span class="stringliteral">&quot;&lt;html&gt;&lt;head&gt;\n&quot;</span>;
<a name="l00041"></a>00041     stream &lt;&lt; <span class="stringliteral">&quot;&lt;meta http-equiv=&#39;Content-Type&#39; content=&#39;text/html; charset=&quot;</span> &lt;&lt; charSet &lt;&lt; <span class="stringliteral">&quot;&#39;&gt;\n&quot;</span>;
<a name="l00042"></a>00042     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/head&gt;&lt;body&gt;\n&quot;</span>;
<a name="l00043"></a>00043     stream &lt;&lt; <span class="stringliteral">&quot;&lt;table cellpadding=&#39;4&#39;&gt;&lt;tr&gt;\n&quot;</span>;
<a name="l00044"></a>00044     stream &lt;&lt; <span class="stringliteral">&quot;&lt;td&gt;&lt;img src=&#39;&quot;</span> &lt;&lt; <a class="code" href="config_8cpp.html#a59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a> &lt;&lt; <span class="stringliteral">&quot;helpImages/asHelpLogoSmall.png&#39;&gt;&lt;/td&gt;\n&quot;</span>;
<a name="l00045"></a>00045     stream &lt;&lt; <span class="stringliteral">&quot;&lt;td valign=&#39;middle&#39;&gt;&lt;font face=&#39;Arial, sans-serif&#39; size=&#39;+3&#39;&gt;&quot;</span>;
<a name="l00046"></a>00046     stream &lt;&lt; HelpWindow::tr(<span class="stringliteral">&quot;Manipulations&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;&lt;/font&gt;&lt;/td&gt;\n&quot;</span>;
<a name="l00047"></a>00047     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/tr&gt;&lt;/table&gt;\n&quot;</span>;
<a name="l00048"></a>00048     stream &lt;&lt; <span class="stringliteral">&quot;&lt;font face=&#39;Arial, sans-serif&#39;&gt;\n&quot;</span>;
<a name="l00049"></a>00049     
<a name="l00050"></a>00050     stream &lt;&lt; <span class="stringliteral">&quot;&lt;table cellspacing=&#39;10&#39; cellpadding=&#39;0&#39;&gt;&lt;tr&gt;&lt;td&gt;\n&quot;</span>;
<a name="l00051"></a>00051 
<a name="l00052"></a>00052     stream &lt;&lt; <span class="stringliteral">&quot;&lt;table width=&#39;100%&#39; cellpadding=&#39;4&#39; cellspacing=&#39;0&#39;&gt;&lt;tr&gt;&lt;td bgcolor=&#39;lightgray&#39;&gt;\n&quot;</span>;
<a name="l00053"></a>00053     stream &lt;&lt; <span class="stringliteral">&quot;&lt;font size=&#39;+1&#39;&gt;&lt;b&gt;&quot;</span> &lt;&lt; HelpWindow::tr(<span class="stringliteral">&quot;Stylize your Photos:&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;&lt;/b&gt;&lt;/font&gt;\n&quot;</span>;
<a name="l00054"></a>00054     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n&quot;</span>;
<a name="l00055"></a>00055 
<a name="l00056"></a>00056     stream &lt;&lt; <span class="stringliteral">&quot;&lt;table cellpadding=&#39;4&#39; cellspacing=&#39;0&#39;&gt;&lt;tr&gt;&lt;td valign=&#39;middle&#39;&gt;\n&quot;</span>;
<a name="l00057"></a>00057     stream &lt;&lt; <span class="stringliteral">&quot;&lt;p align=&#39;justify&#39;&gt;\n&quot;</span>;
<a name="l00058"></a>00058     stream &lt;&lt; HelpWindow::tr(<span class="stringliteral">&quot;If you want to stylize your photo, try applying one of the many manipulations. Manipulation controls are located at the lower right of the photo editor. A preview of the selected manipulation is shown to the right of the manipulation controls. Create your own effects by applying several manipulations.&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;
<a name="l00059"></a>00059     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/td&gt;&lt;td valign=&#39;middle&#39;&gt;\n&quot;</span>;
<a name="l00060"></a>00060     stream &lt;&lt; <span class="stringliteral">&quot;&lt;img src=&#39;&quot;</span> &lt;&lt; IMAGE_PATH &lt;&lt; <span class="stringliteral">&quot;helpImages/manipulateControls.png&#39;&gt;\n&quot;</span>;
<a name="l00061"></a>00061     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n&quot;</span>;
<a name="l00062"></a>00062     
<a name="l00063"></a>00063     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;\n&quot;</span>;
<a name="l00064"></a>00064     
<a name="l00065"></a>00065     stream &lt;&lt; <span class="stringliteral">&quot;&lt;table cellpadding=&#39;4&#39; cellspacing=&#39;0&#39;&gt;&lt;tr&gt;&lt;td valign=&#39;middle&#39;&gt;\n&quot;</span>;
<a name="l00066"></a>00066     stream &lt;&lt; <span class="stringliteral">&quot;&lt;img src=&#39;&quot;</span> &lt;&lt; IMAGE_PATH &lt;&lt; <span class="stringliteral">&quot;helpImages/manipulations.png&#39;&gt;\n&quot;</span>;
<a name="l00067"></a>00067     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/td&gt;&lt;td valign=&#39;middle&#39;&gt;\n&quot;</span>;
<a name="l00068"></a>00068     stream &lt;&lt; <span class="stringliteral">&quot;&lt;p align=&#39;justify&#39;&gt;\n&quot;</span>;
<a name="l00069"></a>00069     stream &lt;&lt; HelpWindow::tr(<span class="stringliteral">&quot;Album Shaper currently supports the following manipulations pictured from left to right: black and white, sepia coloring, invert colors, color preserving emboss, and an oil painting effect.&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;
<a name="l00070"></a>00070     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n&quot;</span>;
<a name="l00071"></a>00071     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/font&gt;\n&quot;</span>;
<a name="l00072"></a>00072     stream &lt;&lt; <span class="stringliteral">&quot;&lt;/body&gt;&lt;/html&gt;\n&quot;</span>;
<a name="l00073"></a>00073     file.close();
<a name="l00074"></a>00074   }
<a name="l00075"></a>00075 }
</pre></div></p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="manipulating_8h_source.html">manipulating.h</a></li>
<li><a class="el" href="manipulating_8cpp_source.html">manipulating.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>