API dox: Use @deprecated tag for deprecation comment

This commit is contained in:
Friedrich W. H. Kossebau 2018-02-27 23:24:26 +01:00
parent 51d5f00920
commit f82d764ad7

View File

@ -318,8 +318,6 @@ public:
* Returns a pointer to the applet if successful.
* The caller takes responsibility for the applet, including
* deleting it when no longer needed.
* Deprecated: use Containment::createApplet instead, you are not
* supposed to have applets without containments
* If you instance a plasmoid with this deprecated API, the
* automated default setup scripts won't be executed for that plasmoid
*
@ -328,6 +326,9 @@ public:
* assigned automatically.
* @return a pointer to the loaded applet, or 0 on load failure
* @since 4.3
*
* @deprecated use Containment::createApplet() instead, you are not
* supposed to have applets without containments
**/
PLASMA_DEPRECATED static Applet *loadPlasmoid(const QString &path, uint appletId = 0);