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

KDEUI

  • sources
  • kde-4.12
  • kdelibs
  • kdeui
  • jobs
kuiserverjobtracker.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 Kevin Ottens <ervin@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 
18 */
19 
20 #ifndef KUISERVERJOBTRACKER_H
21 #define KUISERVERJOBTRACKER_H
22 
23 #include <kdeui_export.h>
24 #include <kjobtrackerinterface.h>
25 
26 class KJob;
27 
31 class KDEUI_EXPORT KUiServerJobTracker : public KJobTrackerInterface
32 {
33  Q_OBJECT
34 
35 public:
41  KUiServerJobTracker(QObject *parent=0);
42 
46  virtual ~KUiServerJobTracker();
47 
53  virtual void registerJob(KJob *job);
54 
60  virtual void unregisterJob(KJob *job);
61 
62 protected Q_SLOTS:
66  virtual void finished(KJob *job);
67  virtual void suspended(KJob *job);
68  virtual void resumed(KJob *job);
69  virtual void description(KJob *job, const QString &title,
70  const QPair<QString, QString> &field1,
71  const QPair<QString, QString> &field2);
72  virtual void infoMessage(KJob *job, const QString &plain, const QString &rich);
73  virtual void totalAmount(KJob *job, KJob::Unit unit, qulonglong amount);
74  virtual void processedAmount(KJob *job, KJob::Unit unit, qulonglong amount);
75  virtual void percent(KJob *job, unsigned long percent);
76  virtual void speed(KJob *job, unsigned long value);
77 
78 private:
79  class Private;
80  Private *const d;
81 
82  Q_PRIVATE_SLOT(d, void _k_killJob())
83 };
84 
85 #endif
KJobTrackerInterface::resumed
virtual void resumed(KJob *job)
kjobtrackerinterface.h
KJobTrackerInterface::suspended
virtual void suspended(KJob *job)
KJobTrackerInterface::totalAmount
virtual void totalAmount(KJob *job, KJob::Unit unit, qulonglong amount)
QString
QObject
KJobTrackerInterface::description
virtual void description(KJob *job, const QString &title, const QPair< QString, QString > &field1, const QPair< QString, QString > &field2)
KJobTrackerInterface::finished
virtual void finished(KJob *job)
KJobTrackerInterface::speed
virtual void speed(KJob *job, unsigned long value)
KUiServerJobTracker
The interface to implement to track the progresses of a job.
Definition: kuiserverjobtracker.h:31
KJobTrackerInterface
KJobTrackerInterface::infoMessage
virtual void infoMessage(KJob *job, const QString &plain, const QString &rich)
kdeui_export.h
KJobTrackerInterface::percent
virtual void percent(KJob *job, unsigned long percent)
QPair
KJobTrackerInterface::unregisterJob
virtual void unregisterJob(KJob *job)
KJobTrackerInterface::registerJob
virtual void registerJob(KJob *job)
KJobTrackerInterface::processedAmount
virtual void processedAmount(KJob *job, KJob::Unit unit, qulonglong amount)
KJob
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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