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

KUtils

dispatcher_p.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2007 Matthias Kretz <kretz@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Library General Public
00006     License version 2 as published by the Free Software Foundation.
00007 
00008     This library is distributed in the hope that it will be useful,
00009     but WITHOUT ANY WARRANTY; without even the implied warranty of
00010     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011     Library General Public License for more details.
00012 
00013     You should have received a copy of the GNU Library General Public License
00014     along with this library; see the file COPYING.LIB.  If not, write to
00015     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016     Boston, MA 02110-1301, USA.
00017 
00018 */
00019 
00020 #ifndef DISPATCHER_P_H
00021 #define DISPATCHER_P_H
00022 
00023 #include <QtCore/QList>
00024 #include <QtCore/QPair>
00025 #include <QtCore/QMap>
00026 #include <QtCore/QObject>
00027 
00028 #include <kcomponentdata.h>
00029 
00030 namespace KSettings
00031 {
00032 namespace Dispatcher
00033 {
00034 
00035 class ComponentInfo
00036 {
00037 public:
00038     KComponentData componentData;
00039     typedef QPair<QObject*, const char*> Slot;
00040     QList<Slot> slotList;
00041     int count;
00042 
00043     ComponentInfo() : count(0) {}
00044 };
00045 
00046 class DispatcherPrivate : public QObject
00047 {
00048     Q_OBJECT
00049     public:
00050         QMap<QString, ComponentInfo> m_componentInfo;
00051         QMap<QObject *, QString> m_componentName;
00052 
00053     public Q_SLOTS:
00054         void unregisterComponent(QObject *);
00055 };
00056 
00057 } // namespace Dispatcher
00058 } // namespace KSettings
00059 #endif // DISPATCHER_P_H

KUtils

Skip menu "KUtils"
  • 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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