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

KCMShell

main.h

Go to the documentation of this file.
00001 /*
00002    Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
00003    Copyright (c) 2004 Frans Englich <frans.englich@telia.com>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 
00020 */
00021 
00022 #ifndef MAIN_H
00023 #define MAIN_H
00024 
00025 #include <kapplication.h>
00026 #include <kcmultidialog.h>
00027 #include <kpagedialog.h>
00028 
00032 class KCMShell : public KApplication
00033 {
00034     Q_OBJECT
00035 
00036 public:
00037 
00044     void setServiceName(const QString &serviceName );
00045 
00050     void waitForExit();
00051 
00055     bool isRunning();
00056 
00057 private Q_SLOTS:
00058 
00061     void appExit( const QString &appId, const QString &, const QString & );
00062 
00063 private:
00064 
00069     QString m_serviceName;
00070 
00071 };
00072 
00073 
00080 class KCMShellMultiDialog : public KCMultiDialog
00081 {
00082     Q_OBJECT
00083     Q_CLASSINFO("D-Bus Interface", "org.kde.KCMShellMultiDialog")
00084 
00085 public:
00086 
00091     explicit KCMShellMultiDialog(KPageDialog::FaceType dialogFace, QWidget *parent = 0);
00092 
00093 public Q_SLOTS:
00094 
00099     virtual Q_SCRIPTABLE void activate( const QByteArray& asn_id );
00100 
00101 };
00102 
00103 // vim: sw=4 et sts=4
00104 #endif // MAIN_H

KCMShell

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

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.7
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