Warning, file /frameworks/kcmutils/src/ksettings/dispatcher_p.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     This file is part of the KDE project
0003     SPDX-FileCopyrightText: 2007 Matthias Kretz <kretz@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only
0006 */
0007 
0008 #ifndef DISPATCHER_P_H
0009 #define DISPATCHER_P_H
0010 
0011 #include <QList>
0012 #include <QMap>
0013 #include <QObject>
0014 #include <QPair>
0015 
0016 namespace KSettings
0017 {
0018 namespace Dispatcher
0019 {
0020 class ComponentInfo
0021 {
0022 public:
0023     typedef QPair<QObject *, const char *> Slot;
0024     QList<Slot> slotList;
0025     int count;
0026 
0027     ComponentInfo()
0028         : count(0)
0029     {
0030     }
0031 };
0032 
0033 class DispatcherPrivate : public QObject
0034 {
0035     Q_OBJECT
0036 public:
0037     QMap<QString, ComponentInfo> m_componentInfo;
0038     QMap<QObject *, QString> m_componentName;
0039 
0040 public Q_SLOTS:
0041     void unregisterComponent(QObject *);
0042 };
0043 
0044 } // namespace Dispatcher
0045 } // namespace KSettings
0046 #endif // DISPATCHER_P_H