KJobWindows

KJobWindows Namespace Reference

Functions

KGUIADDONS_EXPORT void setWindow (QObject *job, QWindow *window)
 
KGUIADDONS_EXPORT QWindowwindow (QObject *job)
 

Detailed Description

KJobWindows namespace.

Function Documentation

◆ setWindow()

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

Associate this job with a window given by window.

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

Definition at line 14 of file kjobwindows.cpp.

◆ window()

QWindow * KJobWindows::window ( QObject * job)

Return the window associated with this job.

Parameters
jobshould be a KJob subclass
Since
6.0

Definition at line 22 of file kjobwindows.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.