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

KUtils

  • kutils
kcmoduleproxy_p.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 Matthias Kretz <kretz@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 
18 */
19 
20 #ifndef KCMUTILS_KCMODULEPROXY_P_H
21 #define KCMUTILS_KCMODULEPROXY_P_H
22 
23 #include "kcmoduleinfo.h"
24 #include "kcmoduleproxy.h"
25 #include <QtGui/QLabel>
26 class QVBoxLayout;
27 
28 class KCModuleProxyPrivate
29 {
30  Q_DECLARE_PUBLIC(KCModuleProxy)
31  protected:
32  KCModuleProxyPrivate(KCModuleProxy *_parent, const KCModuleInfo &info, const QStringList &_args)
33  : args(_args), kcm(0), topLayout(0), rootInfo(0), modInfo(info),
34  changed(false), bogusOccupier(false), parent(_parent)
35  {
36  }
37 
38  ~KCModuleProxyPrivate()
39  {
40  delete rootInfo; // Delete before embedWidget!
41  delete kcm;
42  }
43 
44  void loadModule();
45 
49  void _k_moduleChanged(bool);
50 
54  void _k_moduleDestroyed();
55 
61  void _k_ownerChanged(const QString &service, const QString &oldOwner, const QString &newOwner);
62 
63  QStringList args;
64  KCModule *kcm;
65  QVBoxLayout *topLayout; /* Contains QScrollView view, and root stuff */
66  QLabel *rootInfo;
67  QString dbusService;
68  QString dbusPath;
69  KCModuleInfo modInfo;
70  bool changed;
71  bool bogusOccupier;
72  KCModuleProxy *parent;
73  KCModuleProxy *q_ptr;
74 };
75 
76 #endif // KCMUTILS_KCMODULEPROXY_P_H
77 // vim: sw=4 sts=4 et tw=100
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 22:03:37 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KUtils

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

kdelibs-4.10.4 API Reference

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