summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Weimer <bernd.weimer@pelagicore.com>2018-12-18 18:16:58 +0100
committerRobert Griebl <robert.griebl@pelagicore.com>2018-12-19 14:55:14 +0000
commit3034a2676b6820bb049b1224e96cf3e884b4155a (patch)
treeecbe567285376abb04573bbc52e319a0ceb87e75
parenta1c67d415fda4fcfef423cd0a0f55f72ab5a8532 (diff)
Add missing documentation
Change-Id: I6ecc392ffc83aa2f57352d512924db7f54029b5a Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r--src/manager-lib/application.cpp6
-rw-r--r--src/window-lib/windowmanager.cpp7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/manager-lib/application.cpp b/src/manager-lib/application.cpp
index 8942b369..77018889 100644
--- a/src/manager-lib/application.cpp
+++ b/src/manager-lib/application.cpp
@@ -233,6 +233,12 @@
been requested to be brought to foreground or raised.
*/
/*!
+ \qmlmethod string ApplicationObject::name(string language)
+
+ Returns the name of the application in the given \a language, as provided in the the info.yaml
+ file.
+*/
+/*!
\qmlmethod bool ApplicationObject::start(string document)
Starts the application. The optional argument \a document will be supplied to the application as
diff --git a/src/window-lib/windowmanager.cpp b/src/window-lib/windowmanager.cpp
index 3fb5fd51..19297bdd 100644
--- a/src/window-lib/windowmanager.cpp
+++ b/src/window-lib/windowmanager.cpp
@@ -212,6 +212,13 @@
*/
/*!
+    \qmlsignal WindowManager::windowAboutToBeRemoved(WindowObject window)
+
+    This signal is emitted before the \a window is removed from the model. This happens for
+    instance, when the window \c visible property is set to \c false on the application side.
+*/
+
+/*!
\qmlsignal WindowManager::windowContentStateChanged(WindowObject window)
This signal is emitted when the WindowObject::contentState of the given \a window changes.