You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.5 KiB
98 lines
2.5 KiB
15 years ago
|
/*
|
||
|
* Copyright (C) 2004 Frans Englich <frans.englich@telia.com>
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU Library General Public
|
||
|
* License version 2 as published by the Free Software Foundation.
|
||
|
*
|
||
|
* This library is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Library General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Library General Public License
|
||
|
* along with this library; see the file COPYING.LIB. If not, write to
|
||
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
|
* Boston, MA 02110-1301, USA.
|
||
|
*/
|
||
|
|
||
|
#ifndef __KCMODULEPROXYIFACEIMPL_H__
|
||
|
#define __KCMODULEPROXYIFACEIMPL_H__
|
||
|
|
||
12 years ago
|
#include "tdecmoduleproxyIface.h"
|
||
15 years ago
|
|
||
12 years ago
|
class TDECModuleProxy;
|
||
15 years ago
|
|
||
|
/***************************************************************/
|
||
|
/** @internal
|
||
|
@ingroup internal */
|
||
12 years ago
|
class TDECModuleProxyIfaceImpl: public TQObject, virtual public TDECModuleProxyIface
|
||
15 years ago
|
{
|
||
12 years ago
|
/* KDE4 Merge TDECModuleProxyIfaceImpl with TDECModuleProxy(MI)
|
||
15 years ago
|
* if it doesn't break what DCOPClient it binds to.
|
||
|
* Update: This is probably not possible, since we don't want the DCOPObject when
|
||
|
* we're running in root mode. */
|
||
|
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
/* Reimplementations of DCOP members */
|
||
12 years ago
|
TDECModuleProxyIfaceImpl( const TQCString& name, TDECModuleProxy* const client );
|
||
15 years ago
|
|
||
|
virtual void save();
|
||
|
|
||
|
virtual void load();
|
||
|
|
||
|
virtual void defaults();
|
||
|
|
||
15 years ago
|
virtual TQString applicationName();
|
||
15 years ago
|
|
||
15 years ago
|
virtual TQString quickHelp();
|
||
15 years ago
|
|
||
|
virtual bool changed();
|
||
|
public slots:
|
||
|
|
||
|
/**
|
||
|
* Emits the changed(bool) DCOP signal.
|
||
|
*/
|
||
|
void changedRelay( bool c );
|
||
|
|
||
|
/**
|
||
12 years ago
|
* Simply relays TDECModuleProxy's signal with the same name.
|
||
15 years ago
|
*/
|
||
|
void quickHelpRelay();
|
||
|
|
||
|
|
||
|
private:
|
||
|
|
||
12 years ago
|
TDECModuleProxy* p;
|
||
15 years ago
|
};
|
||
|
/***************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/***************************************************************/
|
||
|
/** @internal
|
||
|
@ingroup internal */
|
||
12 years ago
|
class TDECModuleProxyRootCommunicatorImpl: public TQObject,
|
||
|
virtual public TDECModuleProxyRootDispatcher
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
12 years ago
|
TDECModuleProxyRootCommunicatorImpl( const TQCString& name, TDECModuleProxy* const client );
|
||
15 years ago
|
|
||
|
/* Reimplementations of DCOP members */
|
||
|
virtual void changed( bool c );
|
||
|
|
||
|
virtual void quickHelpChanged();
|
||
|
|
||
12 years ago
|
TDECModuleProxy* p;
|
||
15 years ago
|
};
|
||
|
/***************************************************************/
|
||
|
|
||
|
#endif // __KCMODULEPROXYIFACEIMPL_H__
|
||
|
|