kexi

KexiSharedActionClient Class Reference

#include <kexisharedactionclient.h>

Inheritance diagram for KexiSharedActionClient:
KexiFormScrollView KexiTableView KexiDataTableView

Public Member Functions

void plugSharedAction (TDEAction *a)

Protected Attributes

TQAsciiDict< TDEAction > m_sharedActions

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.

Constructor & Destructor Documentation

◆ KexiSharedActionClient()

KexiSharedActionClient::KexiSharedActionClient ( )

Definition at line 24 of file kexisharedactionclient.cpp.

◆ ~KexiSharedActionClient()

KexiSharedActionClient::~KexiSharedActionClient ( )
virtual

Definition at line 29 of file kexisharedactionclient.cpp.

Member Function Documentation

◆ plugSharedAction()

void KexiSharedActionClient::plugSharedAction ( TDEAction * 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

◆ m_sharedActions

TQAsciiDict<TDEAction> 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: