KJobWindows Namespace
Associate jobs with a window. More...
- Header:
#include <KJobWindows> - CMake:
find_package(KF6 REQUIRED COMPONENTS GuiAddons)
target_link_libraries(mytarget PRIVATE KF6::GuiAddons)
Detailed Description
Function Documentation
[since 6.0] void KJobWindows::setWindow(QObject *job, QWindow *window)
Associate this job with a window given by window.
job should be a KJob subclass
This is used:
- by KDialogJobUiDelegate as parent widget for error messages
- by KWidgetJobTracker as parent widget for progress dialogs
- by KIO::AbstractJobInteractionInterface as parent widget for rename/skip dialogs and possibly more.
- by KIO::DropJob as parent widget of popup menus.
This function was introduced in Qt 6.0.
See also window()
[since 6.0] QWindow *KJobWindows::window(QObject *job)
Returns the window associated with this job.
job should be a KJob subclass
This function was introduced in Qt 6.0.
See also setWindow()