update doc
This commit is contained in:
parent
4f96a52aa8
commit
fc2a42e51a
|
@ -100,14 +100,17 @@ public:
|
||||||
bool isValid() const;
|
bool isValid() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns application specific hints:
|
* Returns application specific hints.
|
||||||
* Key | Value | Required
|
* Hints are inherited by Notification's.
|
||||||
* ------------- | ----------- | -----------
|
* Key | Type | Value | Required
|
||||||
* use-markup | Enable markup support for title and message, strings must be html escaped.| Many Backends.
|
* ------------- | ----------- | ----------- | -----------
|
||||||
* desktop-entry | The name of the desktop enty associated with the application. | Used for The freedesktop backend.
|
* use-markup | QString |Enable markup support for title and message, strings must be html escaped. | Many Backends.
|
||||||
* windows-app-id | The app id associated with the application. | Needed for the Windows 8 backend [See MSDN Documentation](http://msdn.microsoft.com/en-us/library/windows/apps/dd378459.aspx).
|
* desktop-entry | QString | The name of the desktop enty associated with the application. | Used for The freedesktop backend.
|
||||||
* tray-icon | A QPointer<QSystemTray> item. | Needed for the System Tray Backend.
|
* windows-app-id | QString | The app id associated with the application. | Needed for the Windows 8 backend [See MSDN Documentation](http://msdn.microsoft.com/en-us/library/windows/apps/dd378459.aspx).
|
||||||
* pushover-token | The token associated with your application. | Needed to associate pushover notification with your application, to register your application visit [Pushover](https://pushover.net/apps/build).
|
* tray-icon | QPointer<QSystemTray> | A QSystemTray item. | Needed for the System Tray Backend.
|
||||||
|
* pushover-token | QString | The token associated with your application. | Needed to associate pushover notification with your application, to register your application visit [Pushover](https://pushover.net/apps/build).
|
||||||
|
* silent | bool | Don't play notification sounds. | Multiple backends.
|
||||||
|
* sound | QString | Local uri to a sound file. | Secondary Backend Sound.
|
||||||
*/
|
*/
|
||||||
Hint &hints();
|
Hint &hints();
|
||||||
|
|
||||||
|
|
|
@ -232,11 +232,9 @@ public:
|
||||||
const Notification::CloseReasons &closeReason();
|
const Notification::CloseReasons &closeReason();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns notification specific hints:
|
* Returns notification specific hints.
|
||||||
* Key | Type | Value | Used In
|
* A notification inherits the hints of its application.
|
||||||
* ------------- | ----------- | ----------- | -----------
|
* @see Application::hints()
|
||||||
* silent | bool | Don't play notification sounds. | Multiple backends.
|
|
||||||
* sound | QString | Local uri to a sound file. | Secondary Backend Sound.
|
|
||||||
*/
|
*/
|
||||||
Hint &hints();
|
Hint &hints();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue