#include <actiongenerator.h>
List of all members.
Public Types |
| enum | Type { StatusType = 0,
GeneralType
} |
Public Member Functions |
| | ActionGenerator (const QIcon &icon, const LocalizedString &text, const QObject *receiver, const char *member) |
| | ActionGenerator (const QIcon &icon, const LocalizedString &text, const char *member) |
| virtual | ~ActionGenerator () |
| QList< QAction * > | actions (QObject *object) const |
| QMap< QObject *, QAction * > | actions () const |
| void | addHandler (int type, QObject *obj) |
| ActionGenerator * | addProperty (const QByteArray &name, const QVariant &value) |
| QIcon | icon () const |
| bool | iconVisibleInMenu () const |
| const char * | member () const |
| QAction::MenuRole | menuRole () const |
| int | priority () const |
| const QObject * | receiver () const |
| void | removeHandler (int type, QObject *obj) |
| void | setCheckable (bool checkable) |
| void | setChecked (bool checked) |
| void | setIconVisibleInMenu (bool visible) |
| void | setMenuController (MenuController *controller) |
| void | setMenuRole (QAction::MenuRole role) |
| ActionGenerator * | setPriority (int priority) |
| void | setShortcut (const QString &id) |
| void | setShortcut (const QKeySequence &shortcut) |
| void | setToolTip (const LocalizedString &toolTip) |
| ActionGenerator * | setType (int type) |
| QString | shortcut () const |
| void | subscribe (QObject *object, const char *method) |
| const LocalizedString & | text () const |
| int | type () const |
Static Public Member Functions |
| static ActionGenerator * | get (QAction *) |
Protected Member Functions |
| void | create (QAction *action, QObject *obj) const |
| virtual void | createImpl (QAction *action, QObject *obj) const |
| virtual QObject * | generateHelper () const |
| virtual void | hideImpl (QAction *action, QObject *obj) |
| virtual QList< QByteArray > | interfaces () const |
| virtual const QMetaObject * | metaObject () const |
| QAction * | prepareAction (QAction *action) const |
| virtual void | showImpl (QAction *action, QObject *obj) |
Friends |
| class | ActionContainerPrivate |
| class | ActionToolBar |
| class | ActionValue |
| class | MenuController |
| class | MenuControllerPrivate |
Member Enumeration Documentation
Constructor & Destructor Documentation
| qutim_sdk_0_3::ActionGenerator::ActionGenerator |
( |
const QIcon & |
icon, |
|
|
const LocalizedString & |
text, |
|
|
const QObject * |
receiver, |
|
|
const char * |
member |
|
) |
| |
| qutim_sdk_0_3::ActionGenerator::ActionGenerator |
( |
const QIcon & |
icon, |
|
|
const LocalizedString & |
text, |
|
|
const char * |
member |
|
) |
| |
| virtual qutim_sdk_0_3::ActionGenerator::~ActionGenerator |
( |
| ) |
[virtual] |
Member Function Documentation
| QList<QAction*> qutim_sdk_0_3::ActionGenerator::actions |
( |
QObject * |
object | ) |
const |
| QMap<QObject*, QAction*> qutim_sdk_0_3::ActionGenerator::actions |
( |
| ) |
const |
| void qutim_sdk_0_3::ActionGenerator::addHandler |
( |
int |
type, |
|
|
QObject * |
obj |
|
) |
| |
| ActionGenerator* qutim_sdk_0_3::ActionGenerator::addProperty |
( |
const QByteArray & |
name, |
|
|
const QVariant & |
value |
|
) |
| |
Set value for property of generating objects.
For every new object, created by this generator, property name will set to value
- Parameters:
-
| name | Property's name |
| value | Property's value |
- Returns:
- this
- Note:
- Properties of already created objects won't be changed to this one
Reimplemented from qutim_sdk_0_3::ObjectGenerator.
| void qutim_sdk_0_3::ActionGenerator::create |
( |
QAction * |
action, |
|
|
QObject * |
obj |
|
) |
| const [protected] |
| virtual void qutim_sdk_0_3::ActionGenerator::createImpl |
( |
QAction * |
action, |
|
|
QObject * |
obj |
|
) |
| const [protected, virtual] |
| virtual QObject* qutim_sdk_0_3::ActionGenerator::generateHelper |
( |
| ) |
const [protected, virtual] |
| static ActionGenerator* qutim_sdk_0_3::ActionGenerator::get |
( |
QAction * |
| ) |
[static] |
| virtual void qutim_sdk_0_3::ActionGenerator::hideImpl |
( |
QAction * |
action, |
|
|
QObject * |
obj |
|
) |
| [protected, virtual] |
| QIcon qutim_sdk_0_3::ActionGenerator::icon |
( |
| ) |
const |
| bool qutim_sdk_0_3::ActionGenerator::iconVisibleInMenu |
( |
| ) |
const |
| virtual QList<QByteArray> qutim_sdk_0_3::ActionGenerator::interfaces |
( |
| ) |
const [protected, virtual] |
| const char* qutim_sdk_0_3::ActionGenerator::member |
( |
| ) |
const |
| QAction::MenuRole qutim_sdk_0_3::ActionGenerator::menuRole |
( |
| ) |
const |
| virtual const QMetaObject* qutim_sdk_0_3::ActionGenerator::metaObject |
( |
| ) |
const [protected, virtual] |
Generate object.
- Parameters:
-
| super | Meta info of superiour class |
- Returns:
- Generated object or null if object doesn't extends class represented by superiour meta info error Generate object
- Parameters:
-
| id | Identification of needed interface |
- Returns:
- Generated object or null if class doesn't implement interface QMetaObject class, which represents object with meta info of generator's object
-
QMetaObject of generator's class
Implements qutim_sdk_0_3::ObjectGenerator.
| QAction* qutim_sdk_0_3::ActionGenerator::prepareAction |
( |
QAction * |
action | ) |
const [protected] |
| int qutim_sdk_0_3::ActionGenerator::priority |
( |
| ) |
const |
| const QObject* qutim_sdk_0_3::ActionGenerator::receiver |
( |
| ) |
const |
| void qutim_sdk_0_3::ActionGenerator::removeHandler |
( |
int |
type, |
|
|
QObject * |
obj |
|
) |
| |
| void qutim_sdk_0_3::ActionGenerator::setCheckable |
( |
bool |
checkable | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setChecked |
( |
bool |
checked | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setIconVisibleInMenu |
( |
bool |
visible | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setMenuController |
( |
MenuController * |
controller | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setMenuRole |
( |
QAction::MenuRole |
role | ) |
|
| ActionGenerator* qutim_sdk_0_3::ActionGenerator::setPriority |
( |
int |
priority | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setShortcut |
( |
const QKeySequence & |
shortcut | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setShortcut |
( |
const QString & |
id | ) |
|
| void qutim_sdk_0_3::ActionGenerator::setToolTip |
( |
const LocalizedString & |
toolTip | ) |
|
| QString qutim_sdk_0_3::ActionGenerator::shortcut |
( |
| ) |
const |
| virtual void qutim_sdk_0_3::ActionGenerator::showImpl |
( |
QAction * |
action, |
|
|
QObject * |
obj |
|
) |
| [protected, virtual] |
| void qutim_sdk_0_3::ActionGenerator::subscribe |
( |
QObject * |
object, |
|
|
const char * |
method |
|
) |
| |
| int qutim_sdk_0_3::ActionGenerator::type |
( |
| ) |
const |
Friends And Related Function Documentation
friend class ActionContainerPrivate [friend] |
friend class ActionValue [friend] |
friend class MenuControllerPrivate [friend] |
The documentation for this class was generated from the following file: