Notifier
#include <Notifier.h>
Properties | |
bool | Active |
Properties inherited from QObject | |
objectName | |
Signals | |
void | applicationClosing () |
void | configurationChanged () |
void | imageClosed (const QString &filename) |
void | imageCreated (Document *image) |
void | imageSaved (const QString &filename) |
void | viewClosed (View *view) |
void | viewCreated (View *view) |
void | windowCreated () |
void | windowIsBeingCreated (Window *window) |
Detailed Description
The Notifier can be used to be informed of state changes in the Krita application.
Definition at line 22 of file Notifier.h.
Property Documentation
◆ Active
|
readwrite |
Definition at line 27 of file Notifier.h.
Constructor & Destructor Documentation
◆ Notifier()
|
explicit |
Definition at line 19 of file Notifier.cpp.
◆ ~Notifier()
|
override |
Definition at line 42 of file Notifier.cpp.
Member Function Documentation
◆ active()
bool Notifier::active | ( | ) | const |
- Returns
- true if the Notifier is active.
Definition at line 47 of file Notifier.cpp.
◆ applicationClosing
|
signal |
applicationClosing is emitted when the application is about to close.
This happens after any documents and windows are closed.
◆ configurationChanged
|
signal |
configurationChanged is emitted every time Krita's configuration has changed.
◆ imageClosed
imageClosed is emitted whenever the last view on an image is closed.
The image does not exist anymore in Krita
- Parameters
-
filename the filename of the image.
◆ imageCreated
imageCreated is emitted whenever a new image is created and registered with the application.
◆ imageSaved
imageSaved is emitted whenever a document is saved.
- Parameters
-
filename the filename of the document that has been saved.
◆ setActive()
void Notifier::setActive | ( | bool | value | ) |
Enable or disable the Notifier.
Definition at line 52 of file Notifier.cpp.
◆ viewClosed
viewClosed is emitted whenever a view is closed
- Parameters
-
view the view
◆ viewCreated
viewCreated is emitted whenever a new view is created.
- Parameters
-
view the view
◆ windowCreated
|
signal |
windowIsCreated is emitted after main window is completely created
◆ windowIsBeingCreated
windowCreated is emitted whenever a window is being created
- Parameters
-
window the window; this is called from the constructor of the window, before the xmlgui file is loaded
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:53 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.