KJobWidgets 5.109.0
Functions
KJobWidgets Namespace Reference

KJobWidgets namespace. More...

Functions

void setWindow (KJob *job, QWidget *widget)
 Associate this job with a window given by window.
 
void updateUserTimestamp (KJob *job, unsigned long time)
 Updates the last user action timestamp to the given time.
 
unsigned long userTimestamp (KJob *job)
 Returns the last user action timestamp.
 
QWidget * window (KJob *job)
 Return the window associated with this job.
 

Detailed Description

KJobWidgets namespace.

Function Documentation

◆ setWindow()

void KJobWidgets::setWindow ( KJob *  job,
QWidget *  widget 
)

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.0

◆ updateUserTimestamp()

void KJobWidgets::updateUserTimestamp ( KJob *  job,
unsigned long  time 
)

Updates the last user action timestamp to the given time.

Since
5.0

◆ userTimestamp()

unsigned long KJobWidgets::userTimestamp ( KJob *  job)

Returns the last user action timestamp.

Since
5.0

◆ window()

QWidget * KJobWidgets::window ( KJob *  job)

Return the window associated with this job.

Since
5.0