Pages
API Documentation
On this page

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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.