summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/euroconv/calcdisplay.cpp34
-rw-r--r--noncore/tools/euroconv/calcdisplay.h28
-rw-r--r--noncore/tools/euroconv/main.cpp12
3 files changed, 37 insertions, 37 deletions
diff --git a/noncore/tools/euroconv/calcdisplay.cpp b/noncore/tools/euroconv/calcdisplay.cpp
index e5a49e6..8f3de22 100644
--- a/noncore/tools/euroconv/calcdisplay.cpp
+++ b/noncore/tools/euroconv/calcdisplay.cpp
@@ -4,5 +4,5 @@
*
- * Description:
- *
- *
+ * Description:
+ *
+ *
* Authors: Eric Santonacci <Eric.Santonacci@talc.fr>
@@ -22,2 +22,30 @@
+/* XPM */
+static char *swap_xpm[] = {
+/* width height num_colors chars_per_pixel */
+" 13 18 2 1",
+/* colors */
+". c None",
+"# c #000000",
+/* pixels */
+"..#######....",
+"..#####......",
+"..######.....",
+"..#...###....",
+"........##...",
+".........##..",
+"..........##.",
+"...........##",
+"...........##",
+"...........##",
+"...........##",
+"..........##.",
+".........##..",
+"........##...",
+"..#...###....",
+"..######.....",
+"..#####......",
+"..#######....",
+};
+
diff --git a/noncore/tools/euroconv/calcdisplay.h b/noncore/tools/euroconv/calcdisplay.h
index d1902cf..a48ab77 100644
--- a/noncore/tools/euroconv/calcdisplay.h
+++ b/noncore/tools/euroconv/calcdisplay.h
@@ -25,30 +25,2 @@
-/* XPM */
-static char *swap_xpm[] = {
-/* width height num_colors chars_per_pixel */
-" 13 18 2 1",
-/* colors */
-". c None",
-"# c #000000",
-/* pixels */
-"..#######....",
-"..#####......",
-"..######.....",
-"..#...###....",
-"........##...",
-".........##..",
-"..........##.",
-"...........##",
-"...........##",
-"...........##",
-"...........##",
-"..........##.",
-".........##..",
-"........##...",
-"..#...###....",
-"..######.....",
-"..#####......",
-"..#######....",
-};
-
diff --git a/noncore/tools/euroconv/main.cpp b/noncore/tools/euroconv/main.cpp
index dd4ff1d..8b417fe 100644
--- a/noncore/tools/euroconv/main.cpp
+++ b/noncore/tools/euroconv/main.cpp
@@ -5,4 +5,4 @@
* Description: main file for OPIE Euroconv aapp
- *
- *
+ *
+ *
* Authors: Eric Santonacci <Eric.Santonacci@talc.fr>
@@ -24,3 +24,3 @@ struct Layout : QVBox{
static QString appName() { return QString::fromLatin1("euroconv"); }
- Layout(QWidget *p, const char* n, WFlags)
+ Layout(QWidget *p, const char* n, WFlags)
:QVBox(0,"fond" )
@@ -28,7 +28,7 @@ struct Layout : QVBox{
LCDDisplay *lcd = new LCDDisplay(this, "lcd");
- KeyPad *num = new KeyPad(lcd, this, "keypad");
-
+ (void)new KeyPad(lcd, this, "keypad");
+
setCaption( QObject::tr("Euroconv") );
};
-
+
};