author | drw <drw> | 2005-05-23 23:41:35 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-23 23:41:35 (UTC) |
commit | 4d0e85830d39ef28f5ae8d3f9daa2cdf5616b2e2 (patch) (unidiff) | |
tree | 5b1561f5c64f674b25daa7eb16f8caec79e72d13 | |
parent | 3e2acb4665ddcdb24e0749e3ebfc589313be0065 (diff) | |
download | opie-4d0e85830d39ef28f5ae8d3f9daa2cdf5616b2e2.zip opie-4d0e85830d39ef28f5ae8d3f9daa2cdf5616b2e2.tar.gz opie-4d0e85830d39ef28f5ae8d3f9daa2cdf5616b2e2.tar.bz2 |
Remove unnecessary include
-rw-r--r-- | noncore/tools/calculator/calculatorimpl.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/noncore/tools/calculator/calculatorimpl.cpp b/noncore/tools/calculator/calculatorimpl.cpp index 05cb9b5..21c1e2e 100644 --- a/noncore/tools/calculator/calculatorimpl.cpp +++ b/noncore/tools/calculator/calculatorimpl.cpp | |||
@@ -25,13 +25,12 @@ | |||
25 | // Sat 03-09-2002 L.J. Potter added the inlined pixmaps here | 25 | // Sat 03-09-2002 L.J. Potter added the inlined pixmaps here |
26 | 26 | ||
27 | #include "calculatorimpl.h" | 27 | #include "calculatorimpl.h" |
28 | 28 | ||
29 | /* OPIE */ | 29 | /* OPIE */ |
30 | #include <opie2/odebug.h> | 30 | #include <opie2/odebug.h> |
31 | #include <qpe/resource.h> | ||
32 | #include <qpe/qmath.h> | 31 | #include <qpe/qmath.h> |
33 | #include <qpe/qpeapplication.h> | 32 | #include <qpe/qpeapplication.h> |
34 | using namespace Opie::Core; | 33 | using namespace Opie::Core; |
35 | 34 | ||
36 | /* QT */ | 35 | /* QT */ |
37 | #include <qpushbutton.h> | 36 | #include <qpushbutton.h> |
@@ -106,16 +105,12 @@ static char *xtopowerofy_xpm[] = { | |||
106 | }; | 105 | }; |
107 | 106 | ||
108 | CalculatorImpl::CalculatorImpl( QWidget * parent, const char * name, | 107 | CalculatorImpl::CalculatorImpl( QWidget * parent, const char * name, |
109 | WFlags f ) | 108 | WFlags f ) |
110 | : Calculator( parent, name, f ) | 109 | : Calculator( parent, name, f ) |
111 | { | 110 | { |
112 | // xtopowerofy = Resource::loadPixmap("xtopowerofy"); | ||
113 | // ythrootofx = Resource::loadPixmap("ythrootofx"); | ||
114 | // oneoverx = Resource::loadPixmap("oneoverx"); | ||
115 | |||
116 | memMark = new QLabel( "m", LCD ); | 111 | memMark = new QLabel( "m", LCD ); |
117 | memMark->setFont( QFont( "helvetica", 12, QFont::Bold, TRUE ) ); | 112 | memMark->setFont( QFont( "helvetica", 12, QFont::Bold, TRUE ) ); |
118 | memMark->resize( 12, 12 ); | 113 | memMark->resize( 12, 12 ); |
119 | memMark->move( 4, 2 ); | 114 | memMark->move( 4, 2 ); |
120 | memMark->hide(); | 115 | memMark->hide(); |
121 | mem = 0; | 116 | mem = 0; |
@@ -130,19 +125,19 @@ CalculatorImpl::CalculatorImpl( QWidget * parent, const char * name, | |||
130 | QObject::tr("Weight"); | 125 | QObject::tr("Weight"); |
131 | QObject::tr("Distance"); | 126 | QObject::tr("Distance"); |
132 | QObject::tr("Area"); | 127 | QObject::tr("Area"); |
133 | QObject::tr("Temperatures"); | 128 | QObject::tr("Temperatures"); |
134 | QObject::tr("Volume"); | 129 | QObject::tr("Volume"); |
135 | QObject::tr("acres"); | 130 | QObject::tr("acres"); |
136 | QObject::tr("°C"); | 131 | QObject::tr("C"); |
137 | QObject::tr("carats"); | 132 | QObject::tr("carats"); |
138 | QObject::tr("cm"); | 133 | QObject::tr("cm"); |
139 | QObject::tr("cu cm"); | 134 | QObject::tr("cu cm"); |
140 | QObject::tr("cu ft"); | 135 | QObject::tr("cu ft"); |
141 | QObject::tr("cu in"); | 136 | QObject::tr("cu in"); |
142 | QObject::tr("°F"); | 137 | QObject::tr("F"); |
143 | QObject::tr("fl oz (US)"); | 138 | QObject::tr("fl oz (US)"); |
144 | QObject::tr("ft"); | 139 | QObject::tr("ft"); |
145 | QObject::tr("g"); | 140 | QObject::tr("g"); |
146 | QObject::tr("gal (US)"); | 141 | QObject::tr("gal (US)"); |
147 | QObject::tr("hectares"); | 142 | QObject::tr("hectares"); |
148 | QObject::tr("in"); | 143 | QObject::tr("in"); |