• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

Public Member Functions | Protected Slots | List of all members
KDialogJobUiDelegate Class Reference

#include <kdialogjobuidelegate.h>

Inheritance diagram for KDialogJobUiDelegate:
KJobUiDelegate QObject

Public Member Functions

 KDialogJobUiDelegate ()
 
virtual ~KDialogJobUiDelegate ()
 
virtual void setWindow (QWidget *window)
 
virtual void showErrorMessage ()
 
void updateUserTimestamp (unsigned long time)
 
unsigned long userTimestamp () const
 
QWidget * window () const
 
- Public Member Functions inherited from KJobUiDelegate
 KJobUiDelegate ()
 
virtual ~KJobUiDelegate ()
 
bool isAutoErrorHandlingEnabled () const
 
bool isAutoWarningHandlingEnabled () const
 
void setAutoErrorHandlingEnabled (bool enable)
 
void setAutoWarningHandlingEnabled (bool enable)
 
virtual void showErrorMessage ()
 

Protected Slots

virtual void slotWarning (KJob *job, const QString &plain, const QString &rich)
 
- Protected Slots inherited from KJobUiDelegate
virtual void slotWarning (KJob *job, const QString &plain, const QString &rich)
 

Additional Inherited Members

- Protected Member Functions inherited from KJobUiDelegate
KJob * job ()
 

Detailed Description

A UI delegate using KMessageBox for interaction (showing errors and warnings).

Definition at line 32 of file kdialogjobuidelegate.h.

Constructor & Destructor Documentation

◆ KDialogJobUiDelegate()

KDialogJobUiDelegate::KDialogJobUiDelegate ( )

Constructs a new KDialogJobUiDelegate.

Definition at line 43 of file kdialogjobuidelegate.cpp.

◆ ~KDialogJobUiDelegate()

KDialogJobUiDelegate::~KDialogJobUiDelegate ( )
virtual

Destroys the KDialogJobUiDelegate.

Definition at line 52 of file kdialogjobuidelegate.cpp.

Member Function Documentation

◆ setWindow()

void KDialogJobUiDelegate::setWindow ( QWidget *  window)
virtual

Associate this job with a window given by window.

Parameters
windowthe window to associate to
See also
window()

Definition at line 57 of file kdialogjobuidelegate.cpp.

◆ showErrorMessage()

void KDialogJobUiDelegate::showErrorMessage ( )
virtual

Reimplemented from KJobUiDelegate.

Definition at line 80 of file kdialogjobuidelegate.cpp.

◆ slotWarning

void KDialogJobUiDelegate::slotWarning ( KJob *  job,
const QString &  plain,
const QString &  rich 
)
protectedvirtualslot

Definition at line 88 of file kdialogjobuidelegate.cpp.

◆ updateUserTimestamp()

void KDialogJobUiDelegate::updateUserTimestamp ( unsigned long  time)

Updates the last user action timestamp to the given time.

See KApplication::updateUserTimestamp().

Definition at line 67 of file kdialogjobuidelegate.cpp.

◆ userTimestamp()

unsigned long KDialogJobUiDelegate::userTimestamp ( ) const

Definition at line 75 of file kdialogjobuidelegate.cpp.

◆ window()

QWidget * KDialogJobUiDelegate::window ( ) const

Returns the window this job is associated with.

Returns
the associated window
See also
setWindow()

Definition at line 62 of file kdialogjobuidelegate.cpp.


The documentation for this class was generated from the following files:
  • kdialogjobuidelegate.h
  • kdialogjobuidelegate.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal