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

libs/libkdcraw/libkdcraw

  • sources
  • kde-4.14
  • kdegraphics
  • libs
  • libkdcraw
  • libkdcraw
ractionthreadbase.h
Go to the documentation of this file.
1 
28 #ifndef RACTION_THREAD_BASE_H
29 #define RACTION_THREAD_BASE_H
30 
31 // Qt includes
32 
33 #include <QtCore/QThread>
34 
35 // Local includes
36 
37 #include "libkdcraw_export.h"
38 
39 namespace ThreadWeaver
40 {
41  class JobCollection;
42 }
43 
44 using namespace ThreadWeaver;
45 
46 namespace KDcrawIface
47 {
48 
49 class LIBKDCRAW_EXPORT RActionThreadBase : public QThread
50 {
51  Q_OBJECT
52 
53 public:
54 
55  RActionThreadBase(QObject* const parent=0);
56  ~RActionThreadBase();
57 
62  void setMaximumNumberOfThreads(int n);
63 
64  void cancel();
65  void finish();
66 
67 protected:
68 
69  void run();
70 
73  void appendJob(JobCollection* const job);
74 
77  bool isEmpty() const;
78 
79 protected Q_SLOTS:
80 
81  void slotFinished();
82 
83 private:
84 
85  class Private;
86  Private* const d;
87 };
88 
89 } // namespace KDcrawIface
90 
91 #endif // RACTION_THREAD_BASE_H
LIBKDCRAW_EXPORT
#define LIBKDCRAW_EXPORT
Definition: libkdcraw_export.h:39
QObject
KDcrawIface::RActionThreadBase
Definition: ractionthreadbase.h:49
libkdcraw_export.h
===========================================================This file is part of the KDE project ...
QThread
KDcrawIface::RActionThreadBase::Private
Definition: ractionthreadbase_p.h:81
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libkdcraw/libkdcraw

Skip menu "libs/libkdcraw/libkdcraw"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

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