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.
81 lines
2.1 KiB
81 lines
2.1 KiB
15 years ago
|
/* This file is part of the KDE project
|
||
|
Copyright (C) 2001 Ian Reinhart Geiser <geiseri@yahoo.com>
|
||
|
|
||
|
This program is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU Library General Public
|
||
|
License as published by the Free Software Foundation; either
|
||
|
version 2 of the License, or (at your option) any later version.
|
||
|
|
||
|
This program 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
|
||
|
General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Library General Public License
|
||
|
along with this program; see the file COPYING. If not, write to
|
||
|
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
|
Boston, MA 02110-1301, USA.
|
||
|
*/
|
||
|
|
||
3 weeks ago
|
#ifndef TDEAPPDCOP_INTERFACE_H
|
||
|
#define TDEAPPDCOP_INTERFACE_H
|
||
15 years ago
|
|
||
|
#include <dcopobject.h>
|
||
15 years ago
|
#include <tqstringlist.h>
|
||
|
#include <tqcstring.h>
|
||
15 years ago
|
#include <dcopref.h>
|
||
13 years ago
|
#include "tdelibs_export.h"
|
||
15 years ago
|
|
||
12 years ago
|
class TDEApplication;
|
||
15 years ago
|
|
||
|
/**
|
||
12 years ago
|
This is the main interface to the TDEApplication. This will provide a consistant
|
||
15 years ago
|
dcop interface to all KDE applications that use it.
|
||
12 years ago
|
@short DCOP interface to TDEApplication.
|
||
15 years ago
|
@author Ian Reinhart Geiser <geiseri@yahoo.com>
|
||
|
*/
|
||
3 weeks ago
|
class TDECORE_EXPORT TDEAppDCOPInterface : virtual public DCOPObject
|
||
15 years ago
|
{
|
||
|
K_DCOP
|
||
|
|
||
|
public:
|
||
|
/**
|
||
|
Construct a new interface object.
|
||
12 years ago
|
@param theKapp - The parent TDEApplication object
|
||
15 years ago
|
that will provide us with the functional interface.
|
||
|
*/
|
||
3 weeks ago
|
TDEAppDCOPInterface( TDEApplication * theKapp );
|
||
15 years ago
|
/**
|
||
|
Destructor
|
||
|
Cleans up the dcop connection.
|
||
|
**/
|
||
3 weeks ago
|
~TDEAppDCOPInterface();
|
||
15 years ago
|
k_dcop:
|
||
|
/**
|
||
|
Disable current applications session management
|
||
|
**/
|
||
|
void disableSessionManagement();
|
||
|
|
||
15 years ago
|
TQCString startupId();
|
||
|
TQCString caption();
|
||
15 years ago
|
|
||
|
void quit();
|
||
|
|
||
|
void reparseConfiguration();
|
||
|
|
||
|
void updateUserTimestamp( ulong time );
|
||
15 years ago
|
/**
|
||
12 years ago
|
Send a fake keypress to all TDEApplication instances
|
||
15 years ago
|
For internal use in connecting insecure function keys to
|
||
|
KDE applications while the X keyboard is locked.
|
||
|
**/
|
||
|
void sendFakeKey( unsigned int keyCode);
|
||
15 years ago
|
|
||
|
private:
|
||
12 years ago
|
TDEApplication *m_TDEApplication;
|
||
15 years ago
|
};
|
||
|
|
||
|
#endif
|
||
|
|
||
|
|