<!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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="tabs"> <ul> <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 class="navpath"><a class="el" href="namespacegcp.html">gcp</a>::<a class="el" href="classgcp_1_1NewFileDlg.html">NewFileDlg</a> </div> </div> <div class="contents"> <h1>gcp::NewFileDlg Class Reference</h1><!-- doxytag: class="gcp::NewFileDlg" --><!-- doxytag: inherits="gcu::Dialog,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="dynsection"> <div class="center"> <img src="classgcp_1_1NewFileDlg.gif" usemap="#gcp::NewFileDlg_map" alt=""/> <map id="gcp::NewFileDlg_map" name="gcp::NewFileDlg_map"> <area href="classgcu_1_1Dialog.html" alt="gcu::Dialog" shape="rect" coords="0,0,104,24"/> <area href="classgcu_1_1Object.html" alt="gcu::Object" shape="rect" coords="114,0,218,24"/> </map> </div> </div> <p><a href="classgcp_1_1NewFileDlg-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>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"></a><h2>Detailed Description</h2> <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> <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 border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>App</em> </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><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called by the framework when the user validates its choice, and creates the new file. </p> <p>Reimplemented from <a class="el" href="classgcu_1_1Dialog.html#a04866a141bd2fb1a9eb413aa0bcdc0d2">gcu::Dialog</a>.</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#l00080">80</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#l00080">80</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 border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>theme</em> </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#l00080">80</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 size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:54 2009 for The Gnome Chemistry Utils by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>