• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kcmshell
 

kcmshell

  • kcmshell
main.h
1 /*
2  Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
3  Copyright (c) 2004 Frans Englich <frans.englich@telia.com>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 
20 */
21 
22 #ifndef __kcmshell_h__
23 #define __kcmshell_h__
24 
25 #include <dcopobject.h>
26 
27 #include <kapplication.h>
28 #include <kcmultidialog.h>
29 
33 class KCMShell : public KApplication
34 {
35  Q_OBJECT
36 
37 public:
38 
46  void setDCOPName(const TQCString &dcopName, bool rootMode );
47 
52  void waitForExit();
53 
57  bool isRunning();
58 
59 private slots:
60 
63  void appExit( const TQCString &appId );
64 
65 private:
66 
71  TQCString m_dcopName;
72 
73 };
74 
75 
82 class KCMShellMultiDialog : public KCMultiDialog, public DCOPObject
83 {
84  Q_OBJECT
85  K_DCOP
86 
87 public:
88 
91  KCMShellMultiDialog( int dialogFace, const TQString& caption,
92  TQWidget *parent=0, const char *name=0, bool modal=false);
93 
94 k_dcop:
95 
98  virtual void activate( TQCString asn_id );
99 
100 };
101 
102 
103 // vim: sw=4 et sts=4
104 #endif //__kcmshell_h__
KCMShell
The KApplication instance for kcmshell.
Definition: main.h:33
KCMShell::isRunning
bool isRunning()
Definition: main.cpp:118
KCMShell::setDCOPName
void setDCOPName(const TQCString &dcopName, bool rootMode)
Sets m_dcopName basically to dcopName, and then registers with DCOP.
Definition: main.cpp:158
KCMShell::waitForExit
void waitForExit()
Waits until the last instance of kcmshell with the same module as this one exits, and then exits...
Definition: main.cpp:169
KCMShellMultiDialog
Essentially a plain KCMultiDialog, but has the additional functionality of allowing it to be told to ...
Definition: main.h:82

kcmshell

Skip menu "kcmshell"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kcmshell

Skip menu "kcmshell"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kcmshell by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |