-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 100 |
1 files changed, 1 insertions, 99 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 01468ca..abcdb84 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -33,104 +33,6 @@ | |||
33 | #include "emulation_handler.h" | 33 | #include "emulation_handler.h" |
34 | #include "script.h" | 34 | #include "script.h" |
35 | 35 | ||
36 | static char * filesave_xpm[] = { | ||
37 | "16 16 78 1", | ||
38 | " c None", | ||
39 | ". c #343434", | ||
40 | "+ c #A0A0A0", | ||
41 | "@ c #565656", | ||
42 | "# c #9E9E9E", | ||
43 | "$ c #525252", | ||
44 | "% c #929292", | ||
45 | "& c #676767", | ||
46 | "* c #848484", | ||
47 | "= c #666666", | ||
48 | "- c #D8D8D8", | ||
49 | "; c #FFFFFF", | ||
50 | "> c #DBDBDB", | ||
51 | ", c #636363", | ||
52 | "' c #989898", | ||
53 | ") c #2D2D2D", | ||
54 | "! c #909090", | ||
55 | "~ c #AEAEAE", | ||
56 | "{ c #EAEAEA", | ||
57 | "] c #575757", | ||
58 | "^ c #585858", | ||
59 | "/ c #8A8A8A", | ||
60 | "( c #828282", | ||
61 | "_ c #6F6F6F", | ||
62 | ": c #C9C9C9", | ||
63 | "< c #050505", | ||
64 | "[ c #292929", | ||
65 | "} c #777777", | ||
66 | "| c #616161", | ||
67 | "1 c #3A3A3A", | ||
68 | "2 c #BEBEBE", | ||
69 | "3 c #2C2C2C", | ||
70 | "4 c #7C7C7C", | ||
71 | "5 c #F6F6F6", | ||
72 | "6 c #FCFCFC", | ||
73 | "7 c #6B6B6B", | ||
74 | "8 c #959595", | ||
75 | "9 c #4F4F4F", | ||
76 | "0 c #808080", | ||
77 | "a c #767676", | ||
78 | "b c #818181", | ||
79 | "c c #B8B8B8", | ||
80 | "d c #FBFBFB", | ||
81 | "e c #F9F9F9", | ||
82 | "f c #CCCCCC", | ||
83 | "g c #030303", | ||
84 | "h c #737373", | ||
85 | "i c #7A7A7A", | ||
86 | "j c #7E7E7E", | ||
87 | "k c #6A6A6A", | ||
88 | "l c #FAFAFA", | ||
89 | "m c #505050", | ||
90 | "n c #9D9D9D", | ||
91 | "o c #333333", | ||
92 | "p c #7B7B7B", | ||
93 | "q c #787878", | ||
94 | "r c #696969", | ||
95 | "s c #494949", | ||
96 | "t c #555555", | ||
97 | "u c #949494", | ||
98 | "v c #E6E6E6", | ||
99 | "w c #424242", | ||
100 | "x c #515151", | ||
101 | "y c #535353", | ||
102 | "z c #3E3E3E", | ||
103 | "A c #D4D4D4", | ||
104 | "B c #0C0C0C", | ||
105 | "C c #353535", | ||
106 | "D c #474747", | ||
107 | "E c #ECECEC", | ||
108 | "F c #919191", | ||
109 | "G c #7D7D7D", | ||
110 | "H c #000000", | ||
111 | "I c #404040", | ||
112 | "J c #858585", | ||
113 | "K c #323232", | ||
114 | "L c #D0D0D0", | ||
115 | "M c #1C1C1C", | ||
116 | " ...+ ", | ||
117 | " @#$%&..+ ", | ||
118 | " .*=-;;>,..+ ", | ||
119 | " ')!~;;;;;;{]..", | ||
120 | " ^/(-;;;;;;;_:<", | ||
121 | " [}|;;;;;;;{12$", | ||
122 | " #34-55;;;;678$+", | ||
123 | " 90ab=c;dd;e1fg ", | ||
124 | " [ahij((kbl0mn$ ", | ||
125 | " op^q^^7r&]s/$+ ", | ||
126 | "@btu;vbwxy]zAB ", | ||
127 | "CzDEvEv;;DssF$ ", | ||
128 | "G.H{E{E{IxsJ$+ ", | ||
129 | " +...vEKxzLM ", | ||
130 | " +...z]n$ ", | ||
131 | " +... "}; | ||
132 | |||
133 | |||
134 | 36 | ||
135 | MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { | 37 | MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { |
136 | KeyTrans::loadAll(); | 38 | KeyTrans::loadAll(); |
@@ -190,7 +92,7 @@ void MainWindow::initUI() { | |||
190 | m_console->insertSeparator(); | 92 | m_console->insertSeparator(); |
191 | 93 | ||
192 | QAction *saveCon = new QAction(tr("Save Connection"), | 94 | QAction *saveCon = new QAction(tr("Save Connection"), |
193 | QPixmap( ( const char** ) filesave_xpm ) , QString::null, | 95 | Resource::loadPixmap( "save" ), QString::null, |
194 | 0, this, 0 ); | 96 | 0, this, 0 ); |
195 | saveCon->addTo( m_console ); | 97 | saveCon->addTo( m_console ); |
196 | connect( saveCon, SIGNAL(activated() ), | 98 | connect( saveCon, SIGNAL(activated() ), |