Changeset View
Changeset View
Standalone View
Standalone View
krita/ui/kis_view_plugin.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 41 | protected: | |||
---|---|---|---|---|---|
42 | 42 | | |||
43 | /** | 43 | /** | ||
44 | * Registers a KisAction to the UI and action manager. | 44 | * Registers a KisAction to the UI and action manager. | ||
45 | * @param name - title of the action in the krita.rc file | 45 | * @param name - title of the action in the krita.rc file | ||
46 | * @param action the action that should be added | 46 | * @param action the action that should be added | ||
47 | */ | 47 | */ | ||
48 | void addAction(const QString& name, KisAction* action); | 48 | void addAction(const QString& name, KisAction* action); | ||
49 | 49 | | |||
50 | KisAction* createAction(const QString& name); | ||||
51 | | ||||
50 | void addUIFactory(KisOperationUIFactory* factory); | 52 | void addUIFactory(KisOperationUIFactory* factory); | ||
51 | 53 | | |||
52 | void addOperation(KisOperation* operation); | 54 | void addOperation(KisOperation* operation); | ||
53 | 55 | | |||
54 | KisViewManager* m_view; | 56 | KisViewManager* m_view; | ||
55 | }; | 57 | }; | ||
56 | 58 | | |||
57 | #endif // KIS_VIEW_PLUGIN_H | 59 | #endif // KIS_VIEW_PLUGIN_H |