kmcop.h
00001 /* 00002 Copyright (c) 2001 Nikolas Zimmermann <wildfox@kde.org> 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2, or (at your option) 00007 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 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 00018 */ 00019 00020 #ifndef KMCOP_H 00021 #define KMCOP_H 00022 00023 #include <qobject.h> 00024 00025 #include <dcopobject.h> 00026 00027 class KMCOPPrivate; 00028 00029 class KMCOP : public QObject, 00030 public DCOPObject 00031 { 00032 Q_OBJECT 00033 K_DCOP 00034 00035 public: 00036 KMCOP(); 00037 ~KMCOP(); 00038 00039 k_dcop: 00040 int objectCount(); 00041 void addInterfacesHackHackHack(); 00042 00043 private: 00044 QCString correctType(const QCString &str); 00045 KMCOPPrivate *d; 00046 }; 00047 00048 00049 #endif 00050