00001 /*************************************************************************** 00002 * Copyright (C) 2004 by Christoph * 00003 * chris@inferno.nadir.org * 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 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00021 #ifndef _KLETTERWIZARD_H_ 00022 #define _KLETTERWIZARD_H_ 00023 00024 #ifdef HAVE_CONFIG_H 00025 #include <config.h> 00026 #endif 00027 00028 #include <kparts/mainwindow.h> 00029 #include "klwlayout.h" 00030 #include "klwletter.h" 00031 00032 00038 class kletterwizard : public KParts::MainWindow 00039 { 00040 Q_OBJECT 00041 public: 00045 kletterwizard(); 00046 00050 virtual ~kletterwizard(); 00051 00052 private: 00053 klwLayout *layout; 00054 klwLetter *letter; 00055 00056 private slots: 00057 virtual void layoutTextChanged(); 00058 virtual void updateGUI(bool); 00059 virtual void showSettings(); 00060 virtual void settingsChanged(); 00061 virtual void buildingStart(); 00062 virtual void buildingEnd(); 00063 virtual void print(); 00064 virtual void slotToggleMenuBar(); 00065 }; 00066 00067 #endif // _KLETTERWIZARD_H_
1.3