00001 /* 00002 * main.h 00003 * 00004 * Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org> 00005 * Copyright (c) 2000 Daniel Molkentin <molkentin@kde.org> 00006 * 00007 * Requires the Qt widget libraries, available at no cost at 00008 * http://www.troll.no/ 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00023 */ 00024 00025 00026 #ifndef __MAIN_H__ 00027 #define __MAIN_H__ 00028 00029 #include <kcmodule.h> 00030 00031 class KJavaOptions; 00032 class KJavaScriptOptions; 00033 00034 class TQTabWidget; 00035 00036 class KJSParts : public KCModule 00037 { 00038 Q_OBJECT 00039 00040 public: 00041 00042 KJSParts(KConfig *config,TQWidget *parent, const char *name); 00043 virtual ~KJSParts(); 00044 00045 void load(); 00046 void save(); 00047 void defaults(); 00048 TQString quickHelp() const; 00049 00050 00051 private: 00052 TQTabWidget *tab; 00053 00054 KJavaScriptOptions *javascript; 00055 KJavaOptions *java; 00056 00057 KConfig *mConfig; 00058 }; 00059 00060 #endif
1.6.1