Changeset View
Changeset View
Standalone View
Standalone View
src/knotification.h
Show First 20 Lines • Show All 613 Lines • ▼ Show 20 Line(s) | 608 | public Q_SLOTS: | |||
---|---|---|---|---|---|
614 | 614 | | |||
615 | /** | 615 | /** | ||
616 | * Close the notification without activating it. | 616 | * Close the notification without activating it. | ||
617 | * | 617 | * | ||
618 | * This will delete the notification. | 618 | * This will delete the notification. | ||
619 | */ | 619 | */ | ||
620 | void close(); | 620 | void close(); | ||
621 | 621 | | |||
622 | #if KNOTIFICATIONS_ENABLE_DEPRECATED_SINCE(5, 67) | ||||
622 | /** | 623 | /** | ||
623 | * @brief Raise the widget. | 624 | * @brief Raise the widget. | ||
624 | * This will change the desktop, activate the window, and the tab if needed. | 625 | * This will change the desktop, activate the window, and the tab if needed. | ||
626 | * @deprecated since 5.67, use QWindow raise + requestActivate instead. | ||||
625 | */ | 627 | */ | ||
628 | KNOTIFICATIONS_DEPRECATED_VERSION(5, 67, "Use QWindow raise + requestActivate instead") | ||||
626 | void raiseWidget(); | 629 | void raiseWidget(); | ||
630 | #endif | ||||
627 | 631 | | |||
628 | /** | 632 | /** | ||
629 | * The notification will automatically be closed if all presentations are finished. | 633 | * The notification will automatically be closed if all presentations are finished. | ||
630 | * if you want to show your own presentation in your application, you should use this | 634 | * if you want to show your own presentation in your application, you should use this | ||
631 | * function, so it will not be automatically closed when there is nothing to show. | 635 | * function, so it will not be automatically closed when there is nothing to show. | ||
632 | * | 636 | * | ||
633 | * Don't forgot to deref, or the notification may be never closed if there is no timeout. | 637 | * Don't forgot to deref, or the notification may be never closed if there is no timeout. | ||
634 | * | 638 | * | ||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |