• 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 
KApplication
Controls and provides information to all KDE applications.
Definition: kapplication.h:96
KAppDCOPInterface::~KAppDCOPInterface
~KAppDCOPInterface()
Destructor Cleans up the dcop connection.
Definition: kappdcopiface.cpp:33
KAppDCOPInterface::KAppDCOPInterface
KAppDCOPInterface(KApplication *theKapp)
Construct a new interface object.
Definition: kappdcopiface.cpp:27
KApplication::updateUserTimestamp
void updateUserTimestamp(unsigned long time=0)
Updates the last user action timestamp to the given time, or to the current time, if 0 is given...
Definition: kapplication.cpp:2204
KConfig::reparseConfiguration
virtual void reparseConfiguration()
Clears all internal data structures and then reread configuration information from disk...
Definition: kconfig.cpp:161
KAppDCOPInterface::sendFakeKey
void sendFakeKey(unsigned int keyCode)
Send a fake keypress to all KApplication instances For internal use in connecting insecure function k...
Definition: kappdcopiface.cpp:67
KApplication::broadcastKeyCode
void broadcastKeyCode(unsigned int keyCode)
Broadcast a received keycode to all listening KDE applications The primary use for this feature is to...
Definition: kapplication.cpp:2985
DCOPObject
KAppDCOPInterface::disableSessionManagement
void disableSessionManagement()
Disable current applications session management.
Definition: kappdcopiface.cpp:37
KGlobal::config
static KConfig * config()
Returns the general config object.
Definition: kglobal.cpp:61

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.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |