dcopinterface.h

00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Petri Damsten                                   *
00003  *   petri.damsten@iki.fi                                                  *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef DCOPINTERFACE_H
00012 #define DCOPINTERFACE_H
00013 
00014 #include <dcopobject.h>
00015 
00016 class dcopIface : virtual public DCOPObject
00017 {
00018   K_DCOP
00019 public:
00020 
00021 k_dcop:
00022     virtual ASYNC openTheme(QString file) = 0;
00023     virtual ASYNC openNamedTheme(QString file, QString name, bool is_sub_theme) = 0;
00024     virtual ASYNC closeTheme(QString name) = 0;
00025     virtual ASYNC quit() = 0;
00026     virtual ASYNC hideSystemTray(bool hide) = 0;
00027     virtual ASYNC showThemeDialog() = 0;
00028 
00029     virtual int themeAdded(QString appId, QString file) = 0;
00030     virtual ASYNC themeClosed(QString appId, QString file, int instance) = 0;
00031     virtual ASYNC themeNotify(QString name, QString text) = 0;
00032     virtual ASYNC setIncomingData(QString name, QString obj) = 0;
00033     virtual bool isMainKaramba() = 0;
00034 
00035 };
00036 
00037 #endif // DCOPINTERFACE_H
KDE Home | KDE Accessibility Home | Description of Access Keys