| # kdecore Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# kappdcopiface.cpp

    00001 /* This file is part of the KDE project
    00002    Copyright (C) 2001 Ian Reinhart Geiser <geiseri@yahoo.com>
    00003
    00004    This program is free software; you can redistribute it and/or
    00005    modify it under the terms of the Lesser GNU General Public
    00006    License as published by the Free Software Foundation; either
    00007    version 2 of the License, or (at your option) any later version.
    00008
    00009    This program is distributed in the hope that it will be useful,
    00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012     General Public License for more details.
    00013
    00014    You should have received a copy of the Lesser GNU General Public License
    00015    along with this program; see the file COPYING.  If not, write to
    00016    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017    Boston, MA 02111-1307, USA.
    00018 */
    00019
    00020 #include "kappdcopiface.h"
    00021 #include <kapplication.h>
    00022 #include <dcopclient.h>
    00023 #include <kglobal.h>
    00024 #include <kconfig.h>
    00025
    00026
    00027 KAppDCOPInterface::KAppDCOPInterface(KApplication * theKApp)
    00028     : DCOPObject( "MainApplication-Interface")
    00029 {
    00030     m_KApplication = theKApp;
    00031 }
    00032
    00033 KAppDCOPInterface::~KAppDCOPInterface()
    00034 {
    00035 }
    00036
    00037 void KAppDCOPInterface::disableSessionManagement()
    00038 {
    00039
    00040 }
    00041
    00042 QCString KAppDCOPInterface::startupId()
    00043 {
    00044     return "";
    00045 }
    00046
    00047 QCString KAppDCOPInterface::caption()
    00048 {
    00049     return "";
    00050 }
    00051
    00052 void KAppDCOPInterface::quit()
    00053 {
    00054     m_KApplication->quit();
    00055 }
    00056
    00057 void KAppDCOPInterface::updateUserTimestamp( ulong time )
    00058 {
    00059     m_KApplication->updateUserTimestamp( time );
    00060 }
    00061
    00062 void KAppDCOPInterface::reparseConfiguration()
    00063 {
    00064     KGlobal::config()->reparseConfiguration();
    00065 }
    00066

This file is part of the documentation for kdecore Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:18:00 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003