KJobWidgets 5.109.0
Functions
KJobWindows Namespace Reference

KJobWindows namespace. More...

Functions

void setWindow (KJob *job, QWindow *window)
 Associate this job with a window given by window.
 
QWindow * window (KJob *job)
 Return the window associated with this job.
 

Detailed Description

KJobWindows namespace.

Function Documentation

◆ setWindow()

void KJobWindows::setWindow ( KJob *  job,
QWindow *  window 
)

Associate this job with a window given by window.

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 is required on Wayland to properly position the menu.
Since
5.42

◆ window()

QWindow * KJobWindows::window ( KJob *  job)

Return the window associated with this job.

Since
5.42