Gnome::Db::DsnSpec Class Reference

#include <dsnspec.h>

Inheritance diagram for Gnome::Db::DsnSpec:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~DsnSpec ()
GnomeDbDsnSpec* gobj ()
 Provides access to the underlying C GtkObject.
const GnomeDbDsnSpec* gobj () const
 Provides access to the underlying C GtkObject.
 DsnSpec (const Glib::ustring& provider)
void set_provider (const Glib::ustring& provider)
 Updates the displayed fields in spec to represent the required and possible arguments that a connection to a database through provider would require.
Glib::ustring get_specs () const
 Get the currently displayed provider's specific connection string.
void set_specs (const Glib::ustring& dsn)
 Sets the connection string to be displayed in the widget.
Glib::SignalProxy0<void> signal_changed ()

Related Functions

(Note that these are not member functions.)

Gnome::Db::DsnSpecwrap (GnomeDbDsnSpec* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gnome::Db::DsnSpec::~DsnSpec (  )  [virtual]

Gnome::Db::DsnSpec::DsnSpec ( const Glib::ustring provider  )  [explicit]


Member Function Documentation

Glib::ustring Gnome::Db::DsnSpec::get_specs (  )  const

Get the currently displayed provider's specific connection string.

Returns:
A new string, or 0 if no provider have been specified.

const GnomeDbDsnSpec* Gnome::Db::DsnSpec::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

GnomeDbDsnSpec* Gnome::Db::DsnSpec::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

void Gnome::Db::DsnSpec::set_provider ( const Glib::ustring provider  ) 

Updates the displayed fields in spec to represent the required and possible arguments that a connection to a database through provider would require.

Parameters:
provider The provider to be used.

void Gnome::Db::DsnSpec::set_specs ( const Glib::ustring dsn  ) 

Sets the connection string to be displayed in the widget.

Glib::SignalProxy0< void > Gnome::Db::DsnSpec::signal_changed (  ) 

Prototype:
void changed()


Friends And Related Function Documentation

Gnome::Db::DsnSpec* wrap ( GnomeDbDsnSpec *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 16:49:04 2007 for libgnomedbmm by  doxygen 1.4.7