Kexi API Documentation (2.0 alpha)

KexiActionSelectionDialog Class Reference

#include <kexiactionselectiondialog.h>

Inheritance diagram for KexiActionSelectionDialog:

KDialogBase List of all members.

Detailed Description

A dialog for selecting an action to be executed for a form's command button.

Available actions are:

Definition at line 37 of file kexiactionselectiondialog.h.

Public Member Functions

 KexiActionSelectionDialog (KexiMainWindow *mainWin, QWidget *parent, const KexiFormEventAction::ActionData &action, const QCString &actionWidgetName)
 ~KexiActionSelectionDialog ()
KexiFormEventAction::ActionData currentAction () const
KexiMainWindowmainWin () const
virtual bool eventFilter (QObject *o, QEvent *e)

Protected Slots

void slotActionCategorySelected (QListViewItem *item)
void slotKActionItemExecuted (QListViewItem *)
void slotKActionItemSelected (QListViewItem *)
void slotActionToExecuteItemExecuted (QListViewItem *item)
void slotActionToExecuteItemSelected (QListViewItem *)
void slotCurrentFormActionItemExecuted (QListViewItem *)
void slotCurrentFormActionItemSelected (QListViewItem *)
void slotItemForOpeningOrExecutingSelected (KexiPart::Item *item)

Protected Member Functions

void updateOKButtonStatus ()

Protected Attributes

KexiActionSelectionDialogPrivate * d


Constructor & Destructor Documentation

KexiActionSelectionDialog::KexiActionSelectionDialog KexiMainWindow mainWin,
QWidget parent,
const KexiFormEventAction::ActionData action,
const QCString &  actionWidgetName
 

Definition at line 397 of file kexiactionselectiondialog.cpp.

References d, KexiFormEventAction::ActionData::decodeString(), KexiFormEventAction::ActionData::option, Kexi::partManager(), slotActionCategorySelected(), slotActionToExecuteItemExecuted(), slotActionToExecuteItemSelected(), and slotItemForOpeningOrExecutingSelected().

KexiActionSelectionDialog::~KexiActionSelectionDialog  ) 
 

Definition at line 528 of file kexiactionselectiondialog.cpp.

References d.


Member Function Documentation

KexiFormEventAction::ActionData KexiActionSelectionDialog::currentAction  )  const
 

Returns:
selected action data or empty action if dialog has been rejected or "No action" has been selected.

Definition at line 667 of file kexiactionselectiondialog.cpp.

References d, KexiPart::Item::mimeType(), KexiPart::Item::name(), KexiPart::Info::objectName(), KexiFormEventAction::ActionData::option, Kexi::partManager(), and KexiFormEventAction::ActionData::string.

Referenced by KexiFormPart::slotAssignAction(), and updateOKButtonStatus().

bool KexiActionSelectionDialog::eventFilter QObject *  o,
QEvent *  e
[virtual]
 

Definition at line 716 of file kexiactionselectiondialog.cpp.

References d.

KexiMainWindow * KexiActionSelectionDialog::mainWin  )  const
 

Returns:
the KexiMainWindow instance.

Definition at line 662 of file kexiactionselectiondialog.cpp.

References d.

void KexiActionSelectionDialog::slotActionCategorySelected QListViewItem item  )  [protected, slot]
 

Definition at line 574 of file kexiactionselectiondialog.cpp.

References d, KexiBrowserItem::info(), slotCurrentFormActionItemExecuted(), slotCurrentFormActionItemSelected(), slotKActionItemExecuted(), slotKActionItemSelected(), and updateOKButtonStatus().

Referenced by KexiActionSelectionDialog().

void KexiActionSelectionDialog::slotActionToExecuteItemExecuted QListViewItem item  )  [protected, slot]
 

Definition at line 560 of file kexiactionselectiondialog.cpp.

References KListViewItemTemplate< type >::data.

Referenced by KexiActionSelectionDialog().

void KexiActionSelectionDialog::slotActionToExecuteItemSelected QListViewItem  )  [protected, slot]
 

Definition at line 569 of file kexiactionselectiondialog.cpp.

References updateOKButtonStatus().

Referenced by KexiActionSelectionDialog().

void KexiActionSelectionDialog::slotCurrentFormActionItemExecuted QListViewItem  )  [protected, slot]
 

Definition at line 544 of file kexiactionselectiondialog.cpp.

Referenced by slotActionCategorySelected().

void KexiActionSelectionDialog::slotCurrentFormActionItemSelected QListViewItem  )  [protected, slot]
 

Definition at line 549 of file kexiactionselectiondialog.cpp.

References d, and updateOKButtonStatus().

Referenced by slotActionCategorySelected().

void KexiActionSelectionDialog::slotItemForOpeningOrExecutingSelected KexiPart::Item item  )  [protected, slot]
 

Definition at line 555 of file kexiactionselectiondialog.cpp.

References d.

Referenced by KexiActionSelectionDialog().

void KexiActionSelectionDialog::slotKActionItemExecuted QListViewItem  )  [protected, slot]
 

Definition at line 533 of file kexiactionselectiondialog.cpp.

Referenced by slotActionCategorySelected().

void KexiActionSelectionDialog::slotKActionItemSelected QListViewItem  )  [protected, slot]
 

Definition at line 538 of file kexiactionselectiondialog.cpp.

References d, and updateOKButtonStatus().

Referenced by slotActionCategorySelected().

void KexiActionSelectionDialog::updateOKButtonStatus  )  [protected]
 

Definition at line 708 of file kexiactionselectiondialog.cpp.

References currentAction(), and d.

Referenced by slotActionCategorySelected(), slotActionToExecuteItemSelected(), slotCurrentFormActionItemSelected(), and slotKActionItemSelected().


Member Data Documentation

KexiActionSelectionDialogPrivate* KexiActionSelectionDialog::d [protected]
 

Definition at line 67 of file kexiactionselectiondialog.h.

Referenced by currentAction(), eventFilter(), KexiActionSelectionDialog(), mainWin(), slotActionCategorySelected(), slotCurrentFormActionItemSelected(), slotItemForOpeningOrExecutingSelected(), slotKActionItemSelected(), updateOKButtonStatus(), and ~KexiActionSelectionDialog().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:43 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003