Kexi API Documentation (2.0 alpha)

KexiSharedActionClient Class Reference

#include <kexisharedactionclient.h>

Inheritance diagram for KexiSharedActionClient:

KexiFormScrollView KexiTableView KexiDataTableView List of all members.

Detailed Description

See KexiTableView and KexiFormScrollView for example usage.

Definition at line 31 of file kexisharedactionclient.h.

Public Member Functions

 KexiSharedActionClient ()
virtual ~KexiSharedActionClient ()
void plugSharedAction (KAction *a)

Protected Attributes

QAsciiDict< KActionm_sharedActions
 Actions pluged for this widget using plugSharedAction(), available by name.


Constructor & Destructor Documentation

KexiSharedActionClient::KexiSharedActionClient  ) 
 

Definition at line 24 of file kexisharedactionclient.cpp.

KexiSharedActionClient::~KexiSharedActionClient  )  [virtual]
 

Definition at line 29 of file kexisharedactionclient.cpp.


Member Function Documentation

void KexiSharedActionClient::plugSharedAction KAction a  ) 
 

Plugs action a for a widget. The action will be later looked up (by name) on key press event, to get proper shortcut. If found, we know that the action is already performed at main window's level, so we should give up. Otherwise - default shortcut will be used (example: Shift+Enter key for "data_save_row" action).

See also:
KexiTableView::shortCutPressed()

Definition at line 33 of file kexisharedactionclient.cpp.

References m_sharedActions.

Referenced by KexiDataAwareView::initActions().


Member Data Documentation

QAsciiDict<KAction> KexiSharedActionClient::m_sharedActions [protected]
 

Actions pluged for this widget using plugSharedAction(), available by name.

Definition at line 46 of file kexisharedactionclient.h.

Referenced by plugSharedAction(), and KexiTableView::shortCutPressed().


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:50:23 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003