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(TQString name); 00025 ThemesDlg* getThemeWnd(); 00026 00027 public slots: 00028 virtual void openTheme(TQString filename); 00029 virtual void openNamedTheme(TQString filename, TQString name, bool is_sub_theme); 00030 virtual void closeTheme(TQString name); 00031 virtual void quit(); 00032 virtual void hideSystemTray(bool show); 00033 virtual void showThemeDialog(); 00034 00035 virtual int themeAdded(TQString appId, TQString file); 00036 virtual void themeClosed(TQString appId, TQString file, int instance); 00037 virtual void themeNotify(TQString name, TQString text); 00038 virtual void setIncomingData(TQString name, TQString text); 00039 virtual bool isMainKaramba(); 00040 }; 00041 00042 #endif // KARAMBAINTERFACE_H