karambainterface.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 KARAMBAINTERFACE_H
00012 #define KARAMBAINTERFACE_H
00013 
00014 #include "dcopinterface.h"
00015 
00016 class karamba;
00017 class ThemeListWindow;
00018 
00019 class KarambaIface: virtual public dcopIface
00020 {
00021 public:
00022   KarambaIface();
00023   ~KarambaIface();
00024   karamba* getKaramba(QString name);
00025   ThemesDlg* getThemeWnd();
00026 
00027 public slots:
00028   virtual void openTheme(QString filename);
00029   virtual void openNamedTheme(QString filename, QString name, bool is_sub_theme);
00030   virtual void closeTheme(QString name);
00031   virtual void quit();
00032   virtual void hideSystemTray(bool show);
00033   virtual void showThemeDialog();
00034 
00035   virtual int themeAdded(QString appId, QString file);
00036   virtual void themeClosed(QString appId, QString file, int instance);
00037   virtual void themeNotify(QString name, QString text);
00038   virtual void setIncomingData(QString name, QString text);
00039   virtual bool isMainKaramba();
00040 };
00041 
00042 #endif // KARAMBAINTERFACE_H
KDE Home | KDE Accessibility Home | Description of Access Keys