<!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: alertsWidget.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 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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <h1>alertsWidget.h</h1><a href="alertsWidget_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_ALERTSWIDGET_H</span> <a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define CONFIGURATION_ALERTSWIDGET_H</span> <a name="l00013"></a>00013 <span class="preprocessor"></span> <a name="l00014"></a>00014 <span class="preprocessor">#include <qdialog.h></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><a class="code" href="classQFrame.html">QFrame</a>; <a name="l00020"></a>00020 <span class="keyword">class </span>QCheckBox; <a name="l00021"></a>00021 <span class="keyword">class </span>QVGroupBox; <a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>; <a name="l00023"></a>00023 <a name="l00024"></a>00024 <span class="comment">//=====================================</span> <a name="l00027"></a>00027 <span class="comment"></span><span class="comment">//=====================================</span> <a name="l00028"></a>00028 <a name="l00029"></a>00029 <span class="comment">//======================</span> <a name="l00030"></a><a class="code" href="classAlertsWidget.html">00030</a> <span class="keyword">class </span><a class="code" href="classAlertsWidget.html" title="Alerts Settings.">AlertsWidget</a> : <span class="keyword">public</span> <a class="code" href="classQWidget.html">QWidget</a> <a name="l00031"></a>00031 { <a name="l00032"></a>00032 Q_OBJECT <a name="l00033"></a>00033 <span class="comment">//----------------------</span> <a name="l00034"></a>00034 <span class="keyword">public</span>: <a name="l00035"></a>00035 <a class="code" href="classAlertsWidget.html#af4045854e6dfa85b5b4101dbc1a13d76">AlertsWidget</a>( <a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* <a class="code" href="classAlertsWidget.html#aebcbc1dc5eb461977ab08ceb94bddedf" 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="l00036"></a>00036 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classAlertsWidget.html#a4e1dc5d9c45b34b65629aa26ed4b6eff">setDefaults</a>(<a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* config); <a name="l00037"></a>00037 <span class="keywordtype">void</span> <a class="code" href="classAlertsWidget.html#a47acfcb914513177b6ee32f72bff8be2">loadSettings</a>(); <a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="classAlertsWidget.html#a45776947bd80b290342ae1796b8da4ae">saveSettings</a>(); <a name="l00039"></a>00039 <span class="comment">//----------------------</span> <a name="l00040"></a>00040 <span class="keyword">private</span>: <a name="l00042"></a><a class="code" href="classAlertsWidget.html#aebcbc1dc5eb461977ab08ceb94bddedf">00042</a> <a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* config; <a name="l00043"></a>00043 <a name="l00044"></a><a class="code" href="classAlertsWidget.html#a8b8640d4ad154d2338d1446afd97a09c">00044</a> QGridLayout* <a class="code" href="classAlertsWidget.html#a8b8640d4ad154d2338d1446afd97a09c">grid</a>; <a name="l00045"></a>00045 <a name="l00046"></a><a class="code" href="classAlertsWidget.html#ae02328ddb2a0055ac302bb4420795c39">00046</a> <a class="code" href="classQLabel.html">QLabel</a>* <a class="code" href="classAlertsWidget.html#ae02328ddb2a0055ac302bb4420795c39">categoryLabel</a>; <a name="l00047"></a><a class="code" href="classAlertsWidget.html#a2ffd4895edbc951f738067a5892459eb">00047</a> <a class="code" href="classQFrame.html">QFrame</a>* <a class="code" href="classAlertsWidget.html#a2ffd4895edbc951f738067a5892459eb">horizontalLine</a>; <a name="l00048"></a>00048 <a name="l00049"></a><a class="code" href="classAlertsWidget.html#aaf275b43d9c6ee3d54846a32bf4ef188">00049</a> QVGroupBox* <a class="code" href="classAlertsWidget.html#aaf275b43d9c6ee3d54846a32bf4ef188">behavior</a>; <a name="l00050"></a><a class="code" href="classAlertsWidget.html#a2835e8a983c267eba3a12e163a2d8a08">00050</a> QCheckBox* <a class="code" href="classAlertsWidget.html#a2835e8a983c267eba3a12e163a2d8a08">showDestructiveAlerts</a>; <a name="l00051"></a><a class="code" href="classAlertsWidget.html#a29bf8260844dc65ebabbddebdd8d2bf1">00051</a> QCheckBox* <a class="code" href="classAlertsWidget.html#a29bf8260844dc65ebabbddebdd8d2bf1">showSoftwareUpdateAlerts</a>; <a name="l00052"></a>00052 <a name="l00053"></a>00053 <span class="comment">//----------------------</span> <a name="l00054"></a>00054 }; <a name="l00055"></a>00055 <span class="comment">//======================</span> <a name="l00056"></a>00056 <a name="l00057"></a>00057 <span class="preprocessor">#endif //CONFIGURATION_ALERTSWIDGET_H</span> </pre></div></div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>