kexi

KexiSharedActionClient Class Reference

#include <kexisharedactionclient.h>

Inheritance diagram for KexiSharedActionClient:

KexiFormScrollView KexiTableView KexiDataTableView

List of all members.


Detailed Description

The KexiSharedActionClient is an interface using application-wide (shared) actions.

See KexiTableView and KexiFormScrollView for example usage.

Definition at line 31 of file kexisharedactionclient.h.


Public Member Functions

void plugSharedAction (KAction *a)

Protected Attributes

QAsciiDict< KAction > m_sharedActions

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.


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.


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