00001 /********************************************************************** 00002 ** Copyright (C) 2000 Trolltech AS. All rights reserved. 00003 ** 00004 ** This file is part of Qtopia Environment. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file LICENSE.GPL included in the 00009 ** packaging of this file. 00010 ** 00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 ** 00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00015 ** 00016 ** Contact info@trolltech.com if any conditions of this licensing are 00017 ** not clear to you. 00018 ** 00019 **********************************************************************/ 00020 00021 #ifndef STANDARDIMPL_H 00022 #define STANDARDIMPL_H 00023 00024 #include <qpe/qmath.h> 00025 #include <qlcdnumber.h> 00026 00027 #include "simple.h" 00028 #include "engine.h" 00029 #include "instruction.h" 00030 00031 class FormSimpleImpl:public FormSimple { 00032 Q_OBJECT 00033 public: 00034 FormSimpleImpl (Engine *e, QWidget * parent = 0, const char *name = 0) 00035 :FormSimple (parent, name) {engine = e;engine->setRepresentation(rDouble);}; 00036 00037 ~FormSimpleImpl () { }; 00038 00039 private: 00040 Engine *engine; 00041 00042 private slots: 00043 void MPlusClicked(); 00044 void MCClicked(); 00045 void MRClicked(); 00046 void CEClicked(); 00047 void evalClicked(); 00048 void addClicked (); 00049 void decimalClicked (); 00050 void divClicked (); 00051 void mulClicked (); 00052 void subClicked (); 00053 void val0Clicked (); 00054 void val1Clicked (); 00055 void val2Clicked (); 00056 void val3Clicked (); 00057 void val4Clicked (); 00058 void val5Clicked (); 00059 void val6Clicked (); 00060 void val7Clicked (); 00061 void val8Clicked (); 00062 void val9Clicked (); 00063 }; 00064 00065 #endif
1.4.2