The Gnome Chemistry Utils 0.13.3
Public Member Functions
gcu::DialogOwner Class Reference

#include <gcu/dialog-owner.h>

Inheritance diagram for gcu::DialogOwner:
gcp::Atom gcp::ReactionProp gcu::Application gcu::Document gcp::FragmentAtom gcp::Document gcu::GLDocument gcp::FragmentResidue gcr::Document gcu::Chem3dDoc

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:
namethe 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: