00001 /* 00002 * Copyright (C) 2001-2003 Anne-Marie Mahfouf <annma@kde.org> 00003 00004 This program is free software; you can redistribute it and/or 00005 modify it under the terms of version 2 of the GNU General Public 00006 License as published by the Free Software Foundation. 00007 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with this program; if not, write to the Free Software 00015 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00016 */ 00017 00018 #ifndef _KLETTRESVIEW_H_ 00019 #define _KLETTRESVIEW_H_ 00020 00021 //Qt includes 00022 #include <qlabel.h> 00023 //KDE includes 00024 #include <kapplication.h> 00025 #include <klineedit.h> 00026 #include <kstandarddirs.h> 00027 00028 class QDomDocument; 00029 class KLettres; 00030 00040 class KLettresView : public QWidget 00041 { 00042 Q_OBJECT 00043 public: 00047 KLettresView(KLettres *parent); 00048 00052 virtual ~KLettresView(); 00053 00055 QLabel* button1; 00057 QLineEdit* line1; 00059 QPixmap pm_k; 00061 QPixmap pm_a; 00063 QPalette pal; 00064 QColorGroup cg; 00066 int niveau; 00068 int n; 00070 int temp; 00072 int length; 00074 uint selectedLanguage; 00076 QString style; 00078 QString st; 00080 QString sj; 00082 QString t1; 00084 QString a1; 00086 int input; 00087 00088 public slots: 00090 void slotGrownup(); 00092 void slotKid(); 00096 void game(); 00097 void treat1(const QString& ); 00098 void timer1(); 00099 void slotLet2(const QString& ); 00100 void timerDone(); 00102 void chooseSound(); 00103 00104 private: 00105 00106 KLettres *klettres; 00107 00108 }; 00109 00110 #endif // _KLETTRESVIEW_H_
1.2.18