Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/pykrita/sip/krita/Action.sip
1 | class Action : QObject | 1 | class Action : QObject | ||
---|---|---|---|---|---|
2 | { | 2 | { | ||
3 | %TypeHeaderCode | 3 | %TypeHeaderCode | ||
4 | #include "Action.h" | 4 | #include "Action.h" | ||
5 | %End | 5 | %End | ||
6 | 6 | | |||
7 | public: | 7 | public: | ||
8 | explicit Action(QObject *parent /TransferThis/ = 0); | 8 | explicit Action(QObject *parent /TransferThis/ = 0); | ||
9 | Action(const QString &name, QAction* action, QObject *parent /TransferThis/ = 0); | 9 | Action(const QString &name, QAction* action, QObject *parent /TransferThis/ = 0); | ||
10 | virtual ~Action(); | 10 | virtual ~Action(); | ||
11 | bool operator==(const Action &other) const; | 11 | bool operator==(const Action &other) const; | ||
12 | bool operator!=(const Action &other) const; | 12 | bool operator!=(const Action &other) const; | ||
13 | public Q_SLOTS: | 13 | public Q_SLOTS: | ||
14 | QString text() const; | 14 | QString text() const; | ||
15 | void settext(QString text); | 15 | void setText(QString text); | ||
16 | QString name() const; | 16 | QString name() const; | ||
17 | void setName(QString value); | 17 | void setName(QString value); | ||
18 | bool isCheckable() const; | 18 | bool isCheckable() const; | ||
19 | void setCheckable(bool value); | 19 | void setCheckable(bool value); | ||
20 | bool isChecked() const; | 20 | bool isChecked() const; | ||
21 | void setChecked(bool value); | 21 | void setChecked(bool value); | ||
22 | QString shortcut() const; | 22 | QString shortcut() const; | ||
23 | void setShortcut(QString value); | 23 | void setShortcut(QString value); | ||
Show All 12 Lines |