KJobWidgets
KJobWidgets Namespace Reference
Functions | |
void | setWindow (QObject *job, QWidget *widget) |
void | setWindowHandle (QObject *job, QWindow *window) |
void | updateUserTimestamp (QObject *job, unsigned long time) |
unsigned long | userTimestamp (QObject *job) |
QWidget * | window (QObject *job) |
QWindow * | windowHandle (QObject *job) |
Detailed Description
KJobWidgets namespace.
Function Documentation
◆ setWindow()
Associate this job with a window given by window
.
- Parameters
-
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 is required on Wayland to properly position the menu.
- Since
- 6.0
Definition at line 14 of file kjobwidgets.cpp.
◆ setWindowHandle()
Associate this job with a window given by window
.
Note that setWindow() will set the window handle too.
- Parameters
-
job should be a KJob subclass
- Since
- 6.4
- Deprecated
- since 6.5, use KJobWindows::setWindow() instead.
Definition at line 27 of file kjobwidgets.cpp.
◆ updateUserTimestamp()
void KJobWidgets::updateUserTimestamp | ( | QObject * | job, |
unsigned long | time ) |
Updates the last user action timestamp to the given time.
- Parameters
-
job should be a KJob subclass
- Since
- 6.0
Definition at line 59 of file kjobwidgets.cpp.
◆ userTimestamp()
unsigned long KJobWidgets::userTimestamp | ( | QObject * | job | ) |
Returns the last user action timestamp.
- Parameters
-
job should be a KJob subclass
- Since
- 6.0
Definition at line 67 of file kjobwidgets.cpp.
◆ window()
Return the window associated with this job.
- Parameters
-
job should be a KJob subclass
- Since
- 6.0
Definition at line 36 of file kjobwidgets.cpp.
◆ windowHandle()
Returns the window handle associated with this job.
- Parameters
-
job should be a KJob subclass
- Since
- 6.4
- Deprecated
- since 6.5, use KJobWindows::window() instead.
Definition at line 42 of file kjobwidgets.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.