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

tdecore

  • tdecore
tdeappdcopinterface.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 "tdeappdcopinterface.h"
21 #include <tdeapplication.h>
22 #include <dcopclient.h>
23 #include <tdeglobal.h>
24 #include <tdeconfig.h>
25 
26 
27 TDEAppDCOPInterface::TDEAppDCOPInterface(TDEApplication * theKApp)
28  : DCOPObject( "MainApplication-Interface")
29 {
30  m_TDEApplication = theKApp;
31 }
32 
33 TDEAppDCOPInterface::~TDEAppDCOPInterface()
34 {
35 }
36 
37 void TDEAppDCOPInterface::disableSessionManagement()
38 {
39 
40 }
41 
42 TQCString TDEAppDCOPInterface::startupId()
43 {
44  return "";
45 }
46 
47 TQCString TDEAppDCOPInterface::caption()
48 {
49  return "";
50 }
51 
52 void TDEAppDCOPInterface::quit()
53 {
54  m_TDEApplication->quit();
55 }
56 
57 void TDEAppDCOPInterface::updateUserTimestamp( ulong time )
58 {
59  m_TDEApplication->updateUserTimestamp( time );
60 }
61 
62 void TDEAppDCOPInterface::reparseConfiguration()
63 {
64  TDEGlobal::config()->reparseConfiguration();
65 }
66 
67 void TDEAppDCOPInterface::sendFakeKey( unsigned int keyCode) {
68  m_TDEApplication->broadcastKeyCode(keyCode);
69 }
70 
DCOPObject
TDEAppDCOPInterface::disableSessionManagement
void disableSessionManagement()
Disable current applications session management.
Definition: tdeappdcopinterface.cpp:37
TDEAppDCOPInterface::~TDEAppDCOPInterface
~TDEAppDCOPInterface()
Destructor Cleans up the dcop connection.
Definition: tdeappdcopinterface.cpp:33
TDEAppDCOPInterface::sendFakeKey
void sendFakeKey(unsigned int keyCode)
Send a fake keypress to all TDEApplication instances For internal use in connecting insecure function...
Definition: tdeappdcopinterface.cpp:67
TDEAppDCOPInterface::TDEAppDCOPInterface
TDEAppDCOPInterface(TDEApplication *theKapp)
Construct a new interface object.
Definition: tdeappdcopinterface.cpp:27
TDEApplication
Controls and provides information to all KDE applications.
Definition: tdeapplication.h:95
TDEApplication::broadcastKeyCode
void broadcastKeyCode(unsigned int keyCode)
Broadcast a received keycode to all listening KDE applications The primary use for this feature is to...
Definition: tdeapplication.cpp:3047
TDEApplication::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: tdeapplication.cpp:2266
TDEConfig::reparseConfiguration
virtual void reparseConfiguration()
Clears all internal data structures and then reread configuration information from disk.
Definition: tdeconfig.cpp:161
TDEGlobal::config
static TDEConfig * config()
Returns the general config object.
Definition: tdeglobal.cpp:65

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.1
This website is maintained by Timothy Pearson.