summaryrefslogtreecommitdiff
path: root/noncore/tools/calc2/simple/simpleimpl.cpp
Unidiff
Diffstat (limited to 'noncore/tools/calc2/simple/simpleimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/calc2/simple/simpleimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/calc2/simple/simpleimpl.cpp b/noncore/tools/calc2/simple/simpleimpl.cpp
index f71f000..447cbdf 100644
--- a/noncore/tools/calc2/simple/simpleimpl.cpp
+++ b/noncore/tools/calc2/simple/simpleimpl.cpp
@@ -1,49 +1,49 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20 20
21#include <qpushbutton.h> 21#include <qpushbutton.h>
22#include <qlcdnumber.h> 22#include <qlcdnumber.h>
23 23
24#include "simpleimpl.h" 24#include "simpleimpl.h"
25#include <stdinstructions.h> 25#include "../stdinstructions.h"
26 26
27void FormSimpleImpl::CEClicked() { 27void FormSimpleImpl::CEClicked() {
28 engine->hardReset(); 28 engine->hardReset();
29} 29}
30 30
31void FormSimpleImpl::MCClicked() { 31void FormSimpleImpl::MCClicked() {
32 engine->memClear(); 32 engine->memClear();
33} 33}
34 34
35void FormSimpleImpl::MRClicked() { 35void FormSimpleImpl::MRClicked() {
36 engine->memRecall(); 36 engine->memRecall();
37} 37}
38 38
39void FormSimpleImpl::MPlusClicked() { 39void FormSimpleImpl::MPlusClicked() {
40 engine->memSave(); 40 engine->memSave();
41} 41}
42 42
43void FormSimpleImpl::evalClicked() { 43void FormSimpleImpl::evalClicked() {
44 engine->eval(); 44 engine->eval();
45} 45}
46 46
47void FormSimpleImpl::addClicked () 47void FormSimpleImpl::addClicked ()
48{ 48{
49 engine->pushInstruction (new iAdd ()); 49 engine->pushInstruction (new iAdd ());