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

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • jobs
kjob_p.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2000 Stephan Kulow <coolo@kde.org>
3  David Faure <faure@kde.org>
4  Copyright (C) 2006 Kevin Ottens <ervin@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License version 2 as published by the Free Software Foundation.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 
20 */
21 
22 #ifndef KJOB_P_H
23 #define KJOB_P_H
24 
25 #include "kjob.h"
26 #include <QMap>
27 
28 class KJobUiDelegate;
29 class QTimer;
30 class QEventLoop;
31 
32 // This is a private class, but it's exported for
33 // KIO::Job's usage. Other Job classes in kdelibs may
34 // use it too.
35 class KDECORE_EXPORT KJobPrivate
36 {
37 public:
38  KJobPrivate();
39  virtual ~KJobPrivate();
40 
41  KJob *q_ptr;
42 
43  KJobUiDelegate *uiDelegate;
44  int error;
45  QString errorText;
46  KJob::Unit progressUnit;
47  QMap<KJob::Unit, qulonglong> processedAmount;
48  QMap<KJob::Unit, qulonglong> totalAmount;
49  unsigned long percentage;
50  bool suspended;
51  KJob::Capabilities capabilities;
52  QTimer *speedTimer;
53  bool isAutoDelete;
54  QEventLoop *eventLoop;
55 
56  void _k_speedTimeout();
57 
58  static bool _k_kjobUnitEnumRegistered;
59 
60  bool isFinished;
61 
62  Q_DECLARE_PUBLIC(KJob)
63 };
64 
65 #endif
QEventLoop
KJobPrivate::errorText
QString errorText
Definition: kjob_p.h:45
KJobPrivate::eventLoop
QEventLoop * eventLoop
Definition: kjob_p.h:54
QMap< KJob::Unit, qulonglong >
KJobPrivate::_k_kjobUnitEnumRegistered
static bool _k_kjobUnitEnumRegistered
Definition: kjob_p.h:58
KJobPrivate::progressUnit
KJob::Unit progressUnit
Definition: kjob_p.h:46
KJobPrivate::percentage
unsigned long percentage
Definition: kjob_p.h:49
KJobPrivate::uiDelegate
KJobUiDelegate * uiDelegate
Definition: kjob_p.h:43
QTimer
KJobPrivate::error
int error
Definition: kjob_p.h:44
KJobPrivate::processedAmount
QMap< KJob::Unit, qulonglong > processedAmount
Definition: kjob_p.h:47
KJobPrivate::speedTimer
QTimer * speedTimer
Definition: kjob_p.h:52
KJobPrivate::capabilities
KJob::Capabilities capabilities
Definition: kjob_p.h:51
QString
KJobUiDelegate
The base class for all KJob UI delegate.
Definition: kjobuidelegate.h:39
KJob::Unit
Unit
Definition: kjob.h:91
KJobPrivate::isAutoDelete
bool isAutoDelete
Definition: kjob_p.h:53
KJobPrivate::q_ptr
KJob * q_ptr
Definition: kjob_p.h:41
KJobPrivate
Definition: kjob_p.h:35
KJobPrivate::totalAmount
QMap< KJob::Unit, qulonglong > totalAmount
Definition: kjob_p.h:48
kjob.h
KJobPrivate::suspended
bool suspended
Definition: kjob_p.h:50
KJob
The base class for all jobs.
Definition: kjob.h:84
KJobPrivate::isFinished
bool isFinished
Definition: kjob_p.h:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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