kexi

KexiProjectSelectorDialog Class Reference

#include <KexiProjectSelector.h>

List of all members.


Detailed Description

Dialog container for KexiProjectSelectorWidget

Definition at line 93 of file KexiProjectSelector.h.


Public Member Functions

 KexiProjectSelectorDialog (QWidget *parent, const char *name, KexiProjectSet *prj_set, bool showProjectNameColumn=true, bool showConnectionColumns=true)
 KexiProjectSelectorDialog (QWidget *parent, const char *name, KexiDB::ConnectionData *cdata, bool showProjectNameColumn=true, bool showConnectionColumns=true)
 ~KexiProjectSelectorDialog ()
KexiProjectDataselectedProjectData () const
KexiProjectSetprojectSet ()
virtual void show ()

Protected Slots

void slotProjectExecuted (KexiProjectData *)
void slotProjectSelectionChanged (KexiProjectData *)

Protected Member Functions

void init (KexiProjectSet *prj_set, bool showProjectNameColumn, bool showConnectionColumns)

Protected Attributes

KexiProjectSelectorWidgetm_sel

Constructor & Destructor Documentation

KexiProjectSelectorDialog::KexiProjectSelectorDialog ( QWidget *  parent,
const char *  name,
KexiProjectSet prj_set,
bool  showProjectNameColumn = true,
bool  showConnectionColumns = true 
)

Constructor 1, used for displaying recent projects list Label "there are recently opened projects" is displayed automatically

Definition at line 220 of file KexiProjectSelector.cpp.

KexiProjectSelectorDialog::KexiProjectSelectorDialog ( QWidget *  parent,
const char *  name,
KexiDB::ConnectionData cdata,
bool  showProjectNameColumn = true,
bool  showConnectionColumns = true 
)

Constructor 2, used for displaying projects list for given connection Label "Select one of these existing projects on server" is displayed automatically You should test if project set was properly loaded using projectSet()->error().

Definition at line 232 of file KexiProjectSelector.cpp.


Member Function Documentation

KexiProjectData * KexiProjectSelectorDialog::selectedProjectData (  )  const

Returns:
data of selected project. Returns NULL if no selection has been made.

Definition at line 276 of file KexiProjectSelector.cpp.

KexiProjectSet* KexiProjectSelectorDialog::projectSet (  )  [inline]

Returns:
currently assigned project set or NULL if no project set is assigned.

Definition at line 119 of file KexiProjectSelector.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys