kcalc
dlabel.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _D_LABEL_H_
00029 #define _D_LABEL_H_
00030
00031 #include <QVector>
00032 #include "kcalcdisplay.h"
00033
00034 class CalcEngine;
00035 class KAction;
00036 class KActionCollection;
00037
00038 class DispLogic : public KCalcDisplay
00039 {
00040 Q_OBJECT
00041
00042 public:
00043 DispLogic(QWidget *parent);
00044 ~DispLogic();
00045
00046 void changeSettings();
00047 void EnterDigit(int data);
00048 void update_from_core(CalcEngine const &core,
00049 bool store_result_in_history = false);
00050
00051 private slots:
00052 void history_back(void);
00053 void history_forward(void);
00054
00055 private:
00056 QVector<KNumber> _history_list;
00057 int _history_index;
00058 };
00059
00060 #endif