|
Krita Source Code Documentation
|
D-Bus interface to KisKMainWindow. More...
#include <kmainwindowiface_p.h>
Inheritance diagram for KisKMainWindowInterface:Public Slots | |
| bool | actionIsEnabled (const QString &action) |
| QStringList | actions () |
| QString | actionToolTip (const QString &action) |
| bool | activateAction (const QString &action) |
| bool | disableAction (const QString &action) |
| bool | enableAction (const QString &action) |
| void | grabWindowToClipBoard () |
| qlonglong | winId () |
Public Member Functions | |
| KisKMainWindowInterface (KXmlGuiWindow *mainWindow) | |
| ~KisKMainWindowInterface () override | |
Private Attributes | |
| KXmlGuiWindow * | m_MainWindow |
D-Bus interface to KisKMainWindow.
This is the main interface to the KisKMainWindow. This will provide a consistent D-Bus interface to all KDE applications that use it.
Definition at line 24 of file kmainwindowiface_p.h.
| KisKMainWindowInterface::KisKMainWindowInterface | ( | KXmlGuiWindow * | mainWindow | ) |
Construct a new interface object.
| mainWindow | - The parent KisKMainWindow object that will provide us with the KAction objects. |
Definition at line 17 of file kmainwindowiface.cpp.
References m_MainWindow.
|
override |
Destructor Cleans up the dcop action proxy object.
Definition at line 23 of file kmainwindowiface.cpp.
|
slot |
Returns the status of the requested action.
| action | The name of the action. The names of valid actions can be found by calling actions(). |
Definition at line 72 of file kmainwindowiface.cpp.
References KisKActionCollection::action(), KisKXMLGUIClient::actionCollection(), and m_MainWindow.
|
slot |
Return a list of actions available to the application's window.
Definition at line 27 of file kmainwindowiface.cpp.
References KisKXMLGUIClient::actionCollection(), KisKActionCollection::actions(), and m_MainWindow.
|
slot |
Returns the tool tip text of the requested action.
| action | The name of the action to activate. The names of valid actions can be found by calling actions(). |
Definition at line 82 of file kmainwindowiface.cpp.
References KisKActionCollection::action(), KisKXMLGUIClient::actionCollection(), and m_MainWindow.
|
slot |
Activates the requested action.
| action | The name of the action to activate. The names of valid actions can be found by calling actions(). |
Definition at line 39 of file kmainwindowiface.cpp.
References KisKActionCollection::action(), KisKXMLGUIClient::actionCollection(), and m_MainWindow.
|
slot |
Disables the requested action.
| action | The name of the action to disable. The names of valid actions can be found by calling actions(). |
Definition at line 50 of file kmainwindowiface.cpp.
References KisKActionCollection::action(), KisKXMLGUIClient::actionCollection(), and m_MainWindow.
|
slot |
Enables the requested action.
| action | The name of the action to enable. The names of valid actions can be found by calling actions(). |
Definition at line 61 of file kmainwindowiface.cpp.
References KisKActionCollection::action(), KisKXMLGUIClient::actionCollection(), and m_MainWindow.
|
slot |
Copies a pixmap representation of the current main window to the clipboard.
Definition at line 97 of file kmainwindowiface.cpp.
References m_MainWindow.
|
slot |
Returns the ID of the current main window. This is useful for automated screen captures or other evil widget fun.
Definition at line 92 of file kmainwindowiface.cpp.
References m_MainWindow.
|
private |
Definition at line 102 of file kmainwindowiface_p.h.