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

ThreadWeaver

WeaverObserver.h

Go to the documentation of this file.
00001 /* -*- C++ -*-
00002 
00003    This file declares the WeaverObserver class.
00004 
00005    $ Author: Mirko Boehm $
00006    $ Copyright: (C) 2005, 2006 Mirko Boehm $
00007    $ Contact: mirko@kde.org
00008          http://www.kde.org
00009          http://www.hackerbuero.org $
00010 
00011    This library is free software; you can redistribute it and/or
00012    modify it under the terms of the GNU Library General Public
00013    License as published by the Free Software Foundation; either
00014    version 2 of the License, or (at your option) any later version.
00015 
00016    This library is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019    Library General Public License for more details.
00020 
00021    You should have received a copy of the GNU Library General Public License
00022    along with this library; see the file COPYING.LIB.  If not, write to
00023    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00024    Boston, MA 02110-1301, USA.
00025 
00026    $Id: WeaverObserver.h 32 2005-08-17 08:38:01Z mirko $
00027 */
00028 
00029 #ifndef WEAVEROBSERVER_H
00030 #define WEAVEROBSERVER_H
00031 
00032 #include <QtCore/QObject>
00033 
00034 #include <threadweaver/threadweaver_export.h>
00035 
00036 namespace ThreadWeaver {
00037 
00038     class Job;
00039     class State;
00040     class Thread;
00041 
00058     class THREADWEAVER_EXPORT WeaverObserver : public QObject
00059     {
00060         Q_OBJECT
00061     public:
00062         explicit WeaverObserver ( QObject *parent = 0 );
00063         virtual ~WeaverObserver();
00064     Q_SIGNALS:
00065         void threadStarted ( ThreadWeaver::Thread* );
00066         void threadBusy( ThreadWeaver::Thread*, ThreadWeaver::Job* );
00067         void threadSuspended ( ThreadWeaver::Thread* );
00068         void threadExited ( ThreadWeaver::Thread* );
00069         void weaverStateChanged ( ThreadWeaver::State* );
00070 
00071     private:
00072         class Private;
00073         Private * const d;
00074     };
00075 
00076 }
00077 
00078 #endif

ThreadWeaver

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal