kexi

KexiSharedActionClient Class Reference

#include <kexisharedactionclient.h>

Inheritance diagram for KexiSharedActionClient:

KexiFormScrollView KexiTableView KexiDataTableView List of all members.

Detailed Description

See KexiTableView for example usage.

Definition at line 30 of file kexisharedactionclient.h.


Public Member Functions

 KexiSharedActionClient ()
virtual ~KexiSharedActionClient ()
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:
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 45 of file kexisharedactionclient.h.


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