<!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>The Gnome Chemistry Utils: gcp::NewFileDlg 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.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">The Gnome Chemistry Utils <span id="projectnumber">0.13.5</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</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> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacegcp.html">gcp</a> </li> <li class="navelem"><a class="el" href="classgcp_1_1NewFileDlg.html">NewFileDlg</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">gcp::NewFileDlg Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="gcp::NewFileDlg" --><!-- doxytag: inherits="gcu::Object" --> <p><code>#include <<a class="el" href="newfiledlg_8h_source.html">gcp/newfiledlg.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gcp::NewFileDlg:</div> <div class="dyncontent"> <div class="center"> <img src="classgcp_1_1NewFileDlg.png" usemap="#gcp::NewFileDlg_map" alt=""/> <map id="gcp::NewFileDlg_map" name="gcp::NewFileDlg_map"> <area href="classgcu_1_1Object.html" alt="gcu::Object" shape="rect" coords="0,0,104,24"/> </map> </div></div> <p><a href="classgcp_1_1NewFileDlg-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#adb4096550b01327f0e3301cf25074385">NewFileDlg</a> (<a class="el" href="classgcp_1_1Application.html">Application</a> *App)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#a233ea49c3d6257042c39c5d4deff5472">~NewFileDlg</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#a2c101b443eb30c9635e89a0300d6a820">Apply</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#ac7ce3f245a9f6a8f1d30136767f603c4">OnThemeNamesChanged</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#a98c337a67527818a501a1a172c698ce1">SetTheme</a> (<a class="el" href="classgcp_1_1Theme.html">Theme</a> *val)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Theme.html">Theme</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#a8f056837252925a99db722632463b7d8">GetTheme</a> (void) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Theme.html">Theme</a> *& </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1NewFileDlg.html#a092f6cfb3ab009a5edb20e7243046725">GetRefTheme</a> (void)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>The dialog class for creating new files with a given theme. </p> <p>Definition at line <a class="el" href="newfiledlg_8h_source.html#l00040">40</a> of file <a class="el" href="newfiledlg_8h_source.html">newfiledlg.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="adb4096550b01327f0e3301cf25074385"></a><!-- doxytag: member="gcp::NewFileDlg::NewFileDlg" ref="adb4096550b01327f0e3301cf25074385" args="(Application *App)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcp::NewFileDlg::NewFileDlg </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1Application.html">Application</a> * </td> <td class="paramname"><em>App</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">App</td><td>the application which will own the new file. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a233ea49c3d6257042c39c5d4deff5472"></a><!-- doxytag: member="gcp::NewFileDlg::~NewFileDlg" ref="a233ea49c3d6257042c39c5d4deff5472" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual gcp::NewFileDlg::~NewFileDlg </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a2c101b443eb30c9635e89a0300d6a820"></a><!-- doxytag: member="gcp::NewFileDlg::Apply" ref="a2c101b443eb30c9635e89a0300d6a820" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool gcp::NewFileDlg::Apply </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Called by the framework when the user validates its choice, and creates the new file. </p> </div> </div> <a class="anchor" id="a092f6cfb3ab009a5edb20e7243046725"></a><!-- doxytag: member="gcp::NewFileDlg::GetRefTheme" ref="a092f6cfb3ab009a5edb20e7243046725" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcp::NewFileDlg::GetRefTheme </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the currently selected theme as a reference. </dd></dl> <p>Definition at line <a class="el" href="newfiledlg_8h_source.html#l00084">84</a> of file <a class="el" href="newfiledlg_8h_source.html">newfiledlg.h</a>.</p> </div> </div> <a class="anchor" id="a8f056837252925a99db722632463b7d8"></a><!-- doxytag: member="gcp::NewFileDlg::GetTheme" ref="a8f056837252925a99db722632463b7d8" args="(void) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcp::NewFileDlg::GetTheme </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the currently selected theme. </dd></dl> <p>Definition at line <a class="el" href="newfiledlg_8h_source.html#l00084">84</a> of file <a class="el" href="newfiledlg_8h_source.html">newfiledlg.h</a>.</p> </div> </div> <a class="anchor" id="ac7ce3f245a9f6a8f1d30136767f603c4"></a><!-- doxytag: member="gcp::NewFileDlg::OnThemeNamesChanged" ref="ac7ce3f245a9f6a8f1d30136767f603c4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::NewFileDlg::OnThemeNamesChanged </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Called by the framework when the theme names have changed, which might happen if the user edits the preference when this dialog is opened. </p> </div> </div> <a class="anchor" id="a98c337a67527818a501a1a172c698ce1"></a><!-- doxytag: member="gcp::NewFileDlg::SetTheme" ref="a98c337a67527818a501a1a172c698ce1" args="(Theme *val)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcp::NewFileDlg::SetTheme </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1Theme.html">Theme</a> * </td> <td class="paramname"><em>theme</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">theme</td><td>the newly selected theme.</td></tr> </table> </dd> </dl> <p>Sets the selected theme when the selection in the list has changed. This method should not be called from elsewhere. </p> <p>Definition at line <a class="el" href="newfiledlg_8h_source.html#l00084">84</a> of file <a class="el" href="newfiledlg_8h_source.html">newfiledlg.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="newfiledlg_8h_source.html">newfiledlg.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Fri Nov 11 2011 18:01:07 for The Gnome Chemistry Utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>