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 | public: | 7 | public: | ||
7 | Action(QObject* parent /TransferThis/ = 0); | 8 | explicit Action(QObject *parent /TransferThis/ = 0); | ||
8 | Action(const QString & name, QAction* action, QObject* parent /TransferThis/ = 0); | 9 | Action(const QString &name, QAction* action, QObject *parent /TransferThis/ = 0); | ||
9 | virtual ~Action(); | 10 | virtual ~Action(); | ||
10 | bool operator==(const Action &other) const; | 11 | bool operator==(const Action &other) const; | ||
11 | bool operator!=(const Action &other) const; | 12 | bool operator!=(const Action &other) const; | ||
12 | public Q_SLOTS: | 13 | public Q_SLOTS: | ||
13 | QString text() const; | 14 | QString text() const; | ||
14 | void settext(QString text); | 15 | void settext(QString text); | ||
15 | QString name() const; | 16 | QString name() const; | ||
16 | void setName(QString value); | 17 | void setName(QString value); | ||
Show All 10 Lines | |||||
27 | void setToolTip(QString tooltip); | 28 | void setToolTip(QString tooltip); | ||
28 | void trigger(); | 29 | void trigger(); | ||
29 | Q_SIGNALS: | 30 | Q_SIGNALS: | ||
30 | void triggered(bool); | 31 | void triggered(bool); | ||
31 | private: | 32 | private: | ||
32 | private: | 33 | private: | ||
33 | Action(const Action &); // Generated | 34 | Action(const Action &); // Generated | ||
34 | }; | 35 | }; | ||
35 | |