kexi
KexiFormEventAction::ActionData Class Reference
#include <kexiformeventhandler.h>
Detailed Description
A structure used in currentActionName().
Definition at line 61 of file kexiformeventhandler.h.
Public Member Functions | |
ActionData () | |
KexiPart::Info * | decodeString (QString &actionType, QString &actionArg, bool &ok) const |
bool | isEmpty () const |
Public Attributes | |
QString | string |
QString | option |
Member Function Documentation
KexiPart::Info * KexiFormEventAction::ActionData::decodeString | ( | QString & | actionType, | |
QString & | actionArg, | |||
bool & | ok | |||
) | const |
Decodes action string into action type/action argument parts. Action string has to be in a form of "actiontype:actionarg"
- Action type is passed to actionType on success. Action type can be "kaction" or any of the part names (see KexiPart::Info::objectName()), e.g. "table", "query", etc.
- Action argument can be an action name in case of "kaction" type or object name in case of action of type "table", "query", etc. ok is set to true on success and to false on failure. On failure no other values are passed.
- Returns:
- part info if action type is "table", "query", etc., or 0 for "kaction" type.
Definition at line 46 of file kexiformeventhandler.cpp.
bool KexiFormEventAction::ActionData::isEmpty | ( | ) | const |
Member Data Documentation
action string with prefix, like "kaction:edit_copy" or "table:<tableName>"
Definition at line 80 of file kexiformeventhandler.h.
option used when name is "table/query/etc.:\<objectName\>" is set; can be set to "open", "design", "editText", etc.
- See also:
- ActionToExecuteListView::showActionsForMimeType()
Definition at line 82 of file kexiformeventhandler.h.
The documentation for this class was generated from the following files: