Sophie

Sophie

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

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: loadingSavingWidget.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.6.2 -->
<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>loadingSavingWidget.h</h1><a href="loadingSavingWidget_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 CONFIGURATION_LOADINGSAVINGWIDGET_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define CONFIGURATION_LOADINGSAVINGWIDGET_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;qdialog.h&gt;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="comment">//forward declarations</span>
<a name="l00017"></a>00017 <span class="keyword">class </span>QGridLayout;
<a name="l00018"></a>00018 <span class="keyword">class </span><a class="code" href="classQLabel.html">QLabel</a>;
<a name="l00019"></a>00019 <span class="keyword">class </span>QCheckBox;
<a name="l00020"></a>00020 <span class="keyword">class </span>QVGroupBox;
<a name="l00021"></a>00021 <span class="keyword">class </span>QLineEdit;
<a name="l00022"></a>00022 <span class="keyword">class </span>QPushButton;
<a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="classQFrame.html">QFrame</a>;
<a name="l00024"></a>00024 <span class="keyword">class </span>QComboBox;
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="classQSlider.html">QSlider</a>;
<a name="l00026"></a>00026 <span class="keyword">class </span><a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>;
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="comment">//=====================================</span>
<a name="l00031"></a>00031 <span class="comment"></span><span class="comment">//=====================================</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="comment">//======================</span>
<a name="l00034"></a><a class="code" href="classLoadingSavingWidget.html">00034</a> <span class="keyword">class </span><a class="code" href="classLoadingSavingWidget.html" title="Loading/Saving Settings.">LoadingSavingWidget</a> : <span class="keyword">public</span> <a class="code" href="classQWidget.html">QWidget</a>
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 Q_OBJECT
<a name="l00037"></a>00037 <span class="comment">//----------------------</span>
<a name="l00038"></a>00038 <span class="keyword">public</span>:
<a name="l00039"></a>00039   <a class="code" href="classLoadingSavingWidget.html#a98c32ce7839913cb572fb3db70206d6b">LoadingSavingWidget</a>( <a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* <a class="code" href="classLoadingSavingWidget.html#af3b9b2c80c6cf89d48f85fe109fa65d2" title="Backend config object pointer.">config</a>, <a class="code" href="classQWidget.html">QWidget</a> *parent=0, <span class="keyword">const</span> <span class="keywordtype">char</span>* name=0);
<a name="l00040"></a>00040   <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classLoadingSavingWidget.html#ae20b24bc2f6f042012e2e9616c6032f3">setDefaults</a>(<a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* config);
<a name="l00041"></a>00041   <span class="keywordtype">void</span> <a class="code" href="classLoadingSavingWidget.html#a13c734fed532ec6291c2b6efab8f27bd">loadSettings</a>();
<a name="l00042"></a>00042   <span class="keywordtype">void</span> <a class="code" href="classLoadingSavingWidget.html#a9b4ecf1e74d294798ca8b5ddbbff4b6a">saveSettings</a>();
<a name="l00043"></a>00043 <span class="comment">//----------------------</span>
<a name="l00044"></a>00044 <span class="keyword">private</span> slots:
<a name="l00045"></a>00045   <span class="keywordtype">void</span> <a class="code" href="classLoadingSavingWidget.html#a15ce2d54898cc82ce07deb64e0f2f5cc">browse</a>();
<a name="l00046"></a>00046 <span class="comment">//----------------------</span>
<a name="l00047"></a>00047 <span class="keyword">private</span>:
<a name="l00049"></a><a class="code" href="classLoadingSavingWidget.html#af3b9b2c80c6cf89d48f85fe109fa65d2">00049</a>   <a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* config;
<a name="l00050"></a>00050 
<a name="l00051"></a><a class="code" href="classLoadingSavingWidget.html#aa6a8f529ead735c50373592343d5b552">00051</a>   QGridLayout* <a class="code" href="classLoadingSavingWidget.html#aa6a8f529ead735c50373592343d5b552">mainGrid</a>;
<a name="l00052"></a>00052   <span class="comment">//-------</span>
<a name="l00053"></a>00053   <span class="comment">//Main Category and separation line</span>
<a name="l00054"></a><a class="code" href="classLoadingSavingWidget.html#a65317e7951079e40c7843dff9752cde1">00054</a>   <a class="code" href="classQLabel.html">QLabel</a>* <a class="code" href="classLoadingSavingWidget.html#a65317e7951079e40c7843dff9752cde1">categoryLabel</a>;
<a name="l00055"></a><a class="code" href="classLoadingSavingWidget.html#a785074d5dd657640ae1ff653df5ad95a">00055</a>   <a class="code" href="classQFrame.html">QFrame</a>* <a class="code" href="classLoadingSavingWidget.html#a785074d5dd657640ae1ff653df5ad95a">horizontalLine</a>;
<a name="l00056"></a>00056   <span class="comment">//-------</span>
<a name="l00057"></a>00057   <span class="comment">//Default new album theme</span>
<a name="l00058"></a><a class="code" href="classLoadingSavingWidget.html#ae45293f632464af1b85848e03dd36bd0">00058</a>   <a class="code" href="classQFrame.html">QFrame</a>* <a class="code" href="classLoadingSavingWidget.html#ae45293f632464af1b85848e03dd36bd0">defaultToThisThemeFrame</a>;
<a name="l00059"></a><a class="code" href="classLoadingSavingWidget.html#a717434a0285b8389a2a102dacbf20ea8">00059</a>   QGridLayout* <a class="code" href="classLoadingSavingWidget.html#a717434a0285b8389a2a102dacbf20ea8">defaultToThisThemeGrid</a>;
<a name="l00060"></a><a class="code" href="classLoadingSavingWidget.html#a4c5d89914215a9d4b4ca68d6b31af0f5">00060</a>   <a class="code" href="classQLabel.html">QLabel</a>* <a class="code" href="classLoadingSavingWidget.html#a4c5d89914215a9d4b4ca68d6b31af0f5">defaultToThisThemeOnNew</a>;
<a name="l00061"></a><a class="code" href="classLoadingSavingWidget.html#a28b8ccc19c91bb37fbca63c201c77243">00061</a>   QComboBox* <a class="code" href="classLoadingSavingWidget.html#a28b8ccc19c91bb37fbca63c201c77243">defaultToThisTheme</a>;
<a name="l00062"></a>00062   <span class="comment">//----------------------</span>
<a name="l00064"></a><a class="code" href="classLoadingSavingWidget.html#a18e09dbe205eb4900e152922e3357c22">00064</a> <span class="comment"></span>  <a class="code" href="classQFrame.html">QFrame</a>* <a class="code" href="classLoadingSavingWidget.html#a18e09dbe205eb4900e152922e3357c22" title="Temporary Image directory.">tempImageDirectoryFrame</a>;
<a name="l00065"></a><a class="code" href="classLoadingSavingWidget.html#acf4891b3df111c676905737ec00f2e04">00065</a>   QGridLayout* <a class="code" href="classLoadingSavingWidget.html#acf4891b3df111c676905737ec00f2e04">tempImageDirectoryGrid</a>;
<a name="l00066"></a><a class="code" href="classLoadingSavingWidget.html#abb0d08b0c62af651768beb71201113c6">00066</a>   <a class="code" href="classQLabel.html">QLabel</a>* <a class="code" href="classLoadingSavingWidget.html#abb0d08b0c62af651768beb71201113c6">tempImageDirectory</a>;
<a name="l00067"></a><a class="code" href="classLoadingSavingWidget.html#a84f70d9a9741fd9aaf480cfeafd20476">00067</a>   QLineEdit* <a class="code" href="classLoadingSavingWidget.html#a84f70d9a9741fd9aaf480cfeafd20476">tempImageDirectoryVal</a>;
<a name="l00068"></a><a class="code" href="classLoadingSavingWidget.html#ad34a0db782e3a9f944c57b9797bf26d0">00068</a>   QPushButton* <a class="code" href="classLoadingSavingWidget.html#ad34a0db782e3a9f944c57b9797bf26d0">browseButton</a>;
<a name="l00069"></a>00069   <span class="comment">//----------------------</span>
<a name="l00071"></a><a class="code" href="classLoadingSavingWidget.html#a09c1a767b34091ca7a3070aaab9bddce">00071</a> <span class="comment"></span>  QCheckBox* <a class="code" href="classLoadingSavingWidget.html#a09c1a767b34091ca7a3070aaab9bddce" title="Check for photo modifications on load.">checkPhotoMods</a>;
<a name="l00072"></a>00072   <span class="comment">//----------------------</span>
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 };
<a name="l00075"></a>00075 <span class="comment">//======================</span>
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 <span class="preprocessor">#endif //CONFIGURATION_LOADINGSAVINGWIDGET_H</span>
</pre></div></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>