gcu::DialogOwner Class Reference

#include <gcu/dialog-owner.h>

Inheritance diagram for gcu::DialogOwner:

gcp::Atom gcp::ReactionProp gcu::Application gcu::Document gcu::Printable gcp::FragmentAtom gcp::Application gcp::Document gcu::GLDocument gcu::SpectrumDocument gcp::Document gcu::GLView gcu::SpectrumDocument

List of all members.

Public Member Functions

 DialogOwner ()
virtual ~DialogOwner ()
DialogGetDialog (std::string name)
void ClearDialogs ()


Detailed Description

This class is the base class for objects owning dialogs. It is aimed at ensuring that each dialog is unique and that when the owner is destroyed, its dialogs are closed.

Definition at line 42 of file dialog-owner.h.


Constructor & Destructor Documentation

gcu::DialogOwner::DialogOwner (  ) 

The constructor.

virtual gcu::DialogOwner::~DialogOwner (  )  [virtual]

The destructor.


Member Function Documentation

void gcu::DialogOwner::ClearDialogs (  ) 

Destroys all dialogs associated with this instance.

Dialog* gcu::DialogOwner::GetDialog ( std::string  name  ) 

Parameters:
name the name associated to the Dialog.
Returns:
the Dialog instance associated with name or NULL if there is none.


The documentation for this class was generated from the following file:

Generated on Fri Sep 24 15:58:47 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9