Diffstat (limited to 'noncore/tools/calculator/calculatorimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/calculator/calculatorimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/tools/calculator/calculatorimpl.h b/noncore/tools/calculator/calculatorimpl.h index bfb726f..f0180c9 100644 --- a/noncore/tools/calculator/calculatorimpl.h +++ b/noncore/tools/calculator/calculatorimpl.h | |||
@@ -103,33 +103,35 @@ private: | |||
103 | 103 | ||
104 | void execOp( Operation i ); | 104 | void execOp( Operation i ); |
105 | double evalExpr( int op ); | 105 | double evalExpr( int op ); |
106 | QLabel * memMark; | 106 | QLabel * memMark; |
107 | QString fake; | 107 | QString fake; |
108 | 108 | ||
109 | // useful values for conversion stuff | 109 | // useful values for conversion stuff |
110 | int current_mode, max_mode, conversion_mode_count, last_conversion; | 110 | int current_mode, max_mode, conversion_mode_count, last_conversion; |
111 | 111 | ||
112 | // make adding new modes easier for ourselves | 112 | // make adding new modes easier for ourselves |
113 | static const int pre_conv_modes_count = 1; | 113 | static const int pre_conv_modes_count = 1; |
114 | static const int post_conv_modes_count = 0; | 114 | static const int post_conv_modes_count = 0; |
115 | 115 | ||
116 | // an array of pointers to the func buttons | 116 | // an array of pointers to the func buttons |
117 | static const int func_button_count = 12; | 117 | static const int func_button_count = 12; |
118 | // this is an abomination | 118 | // this is an abomination |
119 | static const int changeable_func_button_count = 10; | 119 | static const int changeable_func_button_count = 10; |
120 | QPushButton* func_buttons[func_button_count]; | 120 | QPushButton* func_buttons[func_button_count]; |
121 | 121 | ||
122 | QButtonGroup bgr_function, bgr_digits, bgr_std, bgr_command; | 122 | QButtonGroup bgr_function, bgr_digits, bgr_std, bgr_command; |
123 | QStringList faces, captions; | 123 | QStringList faces, captions; |
124 | 124 | ||
125 | // an array of doubles holding the conversion ratios | 125 | // an array of doubles holding the conversion ratios |
126 | double* entry_list; | 126 | double* entry_list; |
127 | double* preoffset_list; | ||
128 | double* postoffset_list; | ||
127 | 129 | ||
128 | QPixmap xtopowerofy; | 130 | QPixmap xtopowerofy; |
129 | QPixmap ythrootofx; | 131 | QPixmap ythrootofx; |
130 | QPixmap oneoverx; | 132 | QPixmap oneoverx; |
131 | 133 | ||
132 | void display_pixmap_faces(void); | 134 | void display_pixmap_faces(void); |
133 | }; | 135 | }; |
134 | 136 | ||
135 | #endif | 137 | #endif |