okular
Okular::Action Class Reference
#include <action.h>
Inheritance diagram for Okular::Action:

Detailed Description
Encapsulates data that describes an action.This is the base class for actions. It makes mandatory for inherited widgets to reimplement the 'actionType' method and return the type of the action described by the reimplemented class.
Definition at line 36 of file action.h.
Public Types | |
| enum | ActionType { Goto, Execute, Browse, DocAction, Sound, Movie } |
Public Member Functions | |
| virtual | ~Action () |
| virtual ActionType | actionType () const =0 |
| virtual QString | actionTip () const |
Member Enumeration Documentation
Constructor & Destructor Documentation
| Action::~Action | ( | ) | [virtual] |
Member Function Documentation
| virtual ActionType Okular::Action::actionType | ( | ) | const [pure virtual] |
Returns the type of the action.
Every inherited class must return an unique identifier.
- See also:
- ActionType
Implemented in Okular::GotoAction, Okular::ExecuteAction, Okular::BrowseAction, Okular::DocumentAction, and Okular::SoundAction.
| QString Action::actionTip | ( | ) | const [virtual] |
Returns a i18n'ed tip of the action that is presented to the user.
Reimplemented in Okular::GotoAction, Okular::ExecuteAction, Okular::BrowseAction, Okular::DocumentAction, and Okular::SoundAction.
Definition at line 43 of file action.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference