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

ThreadWeaver

  • threadweaver
  • Weaver
Thread_p.h
Go to the documentation of this file.
1 /* -*- C++ -*-
2 
3  This file implements the Thread class.
4 
5  Thread is not a part of the public interface of the ThreadWeaver library.
6 
7  $ Author: Mirko Boehm $
8  $ Copyright: (C) 2004, 2005 Mirko Boehm $
9  $ Contact: mirko@kde.org
10  http://www.kde.org
11  http://www.hackerbuero.org $
12 
13  This library is free software; you can redistribute it and/or
14  modify it under the terms of the GNU Library General Public
15  License as published by the Free Software Foundation; either
16  version 2 of the License, or (at your option) any later version.
17 
18  This library is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  Library General Public License for more details.
22 
23  You should have received a copy of the GNU Library General Public License
24  along with this library; see the file COPYING.LIB. If not, write to
25  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26  Boston, MA 02110-1301, USA.
27 
28  $Id: Thread.cpp 25 2005-08-14 12:41:38Z mirko $
29 */
30 
31 #ifndef THREADWEAVER_THREAD_P_H
32 #define THREADWEAVER_THREAD_P_H
33 
34 #include "Thread.h"
35 
36 using namespace ThreadWeaver;
37 
38 
39 // FIXME (0.7) it looks like we do not need this if the Thread object is
40 // moved to its own thread (weaverimpl does that)
41 class ThreadWeaver::ThreadRunHelper : public QObject
42 {
43  Q_OBJECT
44 public:
45  explicit ThreadRunHelper ();
46 
47 Q_SIGNALS: // see Thread:
48 
50  void started ( ThreadWeaver::Thread* );
52  void jobStarted ( ThreadWeaver::Thread*, ThreadWeaver::Job* );
54  void jobDone ( ThreadWeaver::Job* );
55 
56 private:
57  Job* m_job;
58 
59 public:
60  void run ( WeaverImpl *parent, Thread* th );
61 
62  void requestAbort();
63 };
64 
65 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:45:26 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ThreadWeaver

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 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