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

kdecore

  • kdecore
kappdcopiface.cpp
1 /* This file is part of the KDE project
2  Copyright (C) 2001 Ian Reinhart Geiser <geiseri@yahoo.com>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the Lesser GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the Lesser GNU General Public License
15  along with this program; see the file COPYING. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #include "kappdcopiface.h"
21 #include <kapplication.h>
22 #include <dcopclient.h>
23 #include <kglobal.h>
24 #include <kconfig.h>
25 
26 
27 KAppDCOPInterface::KAppDCOPInterface(KApplication * theKApp)
28  : DCOPObject( "MainApplication-Interface")
29 {
30  m_KApplication = theKApp;
31 }
32 
33 KAppDCOPInterface::~KAppDCOPInterface()
34 {
35 }
36 
37 void KAppDCOPInterface::disableSessionManagement()
38 {
39 
40 }
41 
42 TQCString KAppDCOPInterface::startupId()
43 {
44  return "";
45 }
46 
47 TQCString KAppDCOPInterface::caption()
48 {
49  return "";
50 }
51 
52 void KAppDCOPInterface::quit()
53 {
54  m_KApplication->quit();
55 }
56 
57 void KAppDCOPInterface::updateUserTimestamp( ulong time )
58 {
59  m_KApplication->updateUserTimestamp( time );
60 }
61 
62 void KAppDCOPInterface::reparseConfiguration()
63 {
64  KGlobal::config()->reparseConfiguration();
65 }
66 
67 void KAppDCOPInterface::sendFakeKey( unsigned int keyCode) {
68  m_KApplication->broadcastKeyCode(keyCode);
69 }
70 

kdecore

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

kdecore

Skip menu "kdecore"
  • 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 kdecore by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |