summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 15290ce..1a5a59f 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -108,97 +108,97 @@ void MainWindow::initUI() {
108 m_connect = new QAction( tr("Connect"), Resource::loadPixmap("console/connected"), 108 m_connect = new QAction( tr("Connect"), Resource::loadPixmap("console/connected"),
109 QString::null, 0, this, 0 ); 109 QString::null, 0, this, 0 );
110 m_connect->addTo( m_console ); 110 m_connect->addTo( m_console );
111 connect(m_connect, SIGNAL(activated() ), 111 connect(m_connect, SIGNAL(activated() ),
112 this, SLOT(slotConnect() ) ); 112 this, SLOT(slotConnect() ) );
113 113
114 /* 114 /*
115 * disconnect action 115 * disconnect action
116 */ 116 */
117 m_disconnect = new QAction( tr("Disconnect"), Resource::loadPixmap("console/notconnected"), 117 m_disconnect = new QAction( tr("Disconnect"), Resource::loadPixmap("console/notconnected"),
118 QString::null, 0, this, 0 ); 118 QString::null, 0, this, 0 );
119 m_disconnect->addTo( m_console ); 119 m_disconnect->addTo( m_console );
120 connect(m_disconnect, SIGNAL(activated() ), 120 connect(m_disconnect, SIGNAL(activated() ),
121 this, SLOT(slotDisconnect() ) ); 121 this, SLOT(slotDisconnect() ) );
122 122
123 m_console->insertSeparator(); 123 m_console->insertSeparator();
124 124
125 125
126 m_quickLaunch = new QAction( tr("QuickLaunch"), Resource::loadPixmap("console/konsole_mini"), QString::null, 0, this, 0 ); 126 m_quickLaunch = new QAction( tr("QuickLaunch"), Resource::loadPixmap("console/konsole_mini"), QString::null, 0, this, 0 );
127 m_quickLaunch->addTo( m_icons ); 127 m_quickLaunch->addTo( m_icons );
128 connect( m_quickLaunch, SIGNAL( activated() ), 128 connect( m_quickLaunch, SIGNAL( activated() ),
129 this, SLOT( slotQuickLaunch() ) ); 129 this, SLOT( slotQuickLaunch() ) );
130 130
131 QWhatsThis::add( m_icons, tr( "The shell button launches the \"default\" profile. If there is none default values are taken" ) ); 131 QWhatsThis::add( m_icons, tr( "The shell button launches the \"default\" profile. If there is none default values are taken" ) );
132 132
133 m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null, 133 m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null,
134 0, this, 0 ); 134 0, this, 0 );
135 m_transfer->addTo( m_console ); 135 m_transfer->addTo( m_console );
136 connect(m_transfer, SIGNAL(activated() ), 136 connect(m_transfer, SIGNAL(activated() ),
137 this, SLOT(slotTransfer() ) ); 137 this, SLOT(slotTransfer() ) );
138 138
139 139
140 140
141 /* 141 /*
142 * immediate change of line wrap policy 142 * immediate change of line wrap policy
143 */ 143 */
144 m_isWrapped = true; 144 m_isWrapped = true;
145 m_wrap = new QAction( tr("Line wrap"), Resource::loadPixmap( "linewrap" ), QString::null, 0, this, 0, true ); 145 m_wrap = new QAction( tr("Line wrap"), Resource::loadPixmap( "linewrap" ), QString::null, 0, this, 0, true );
146 m_wrap->addTo( m_console ); 146 m_wrap->addTo( m_console );
147 m_wrap->setOn( true ); 147 m_wrap->setOn( true );
148 connect( m_wrap, SIGNAL( activated() ), SLOT( slotWrap() ) ); 148 connect( m_wrap, SIGNAL( activated() ), SLOT( slotWrap() ) );
149 149
150 /* 150 /*
151 * fullscreen 151 * fullscreen
152 */ 152 */
153 m_isFullscreen = false; 153 m_isFullscreen = false;
154 154
155 m_fullscreen = new QAction( tr("Full screen"), Resource::loadPixmap( "fullscreen" ) 155 m_fullscreen = new QAction( tr("Full screen"), Resource::loadPixmap( "fullscreen" )
156 , QString::null, 0, this, 0, true ); 156 , QString::null, 0, this, 0 );
157 m_fullscreen->addTo( m_console ); 157 m_fullscreen->addTo( m_console );
158 connect( m_fullscreen, SIGNAL( activated() ), 158 connect( m_fullscreen, SIGNAL( activated() ),
159 this, SLOT( slotFullscreen() ) ); 159 this, SLOT( slotFullscreen() ) );
160 160
161 m_console->insertSeparator(); 161 m_console->insertSeparator();
162 162
163 QAction *a = new QAction(); 163 QAction *a = new QAction();
164 a->setText( tr("Save history") ); 164 a->setText( tr("Save history") );
165 a->addTo( m_console ); 165 a->addTo( m_console );
166 connect(a, SIGNAL(activated() ), 166 connect(a, SIGNAL(activated() ),
167 this, SLOT(slotSaveHistory() ) ); 167 this, SLOT(slotSaveHistory() ) );
168 /* 168 /*
169 * terminate action 169 * terminate action
170 */ 170 */
171 m_terminate = new QAction(); 171 m_terminate = new QAction();
172 m_terminate->setText( tr("Terminate") ); 172 m_terminate->setText( tr("Terminate") );
173 m_terminate->addTo( m_console ); 173 m_terminate->addTo( m_console );
174 connect(m_terminate, SIGNAL(activated() ), 174 connect(m_terminate, SIGNAL(activated() ),
175 this, SLOT(slotTerminate() ) ); 175 this, SLOT(slotTerminate() ) );
176 176
177 m_closewindow = new QAction(); 177 m_closewindow = new QAction();
178 m_closewindow->setText( tr("Close Window") ); 178 m_closewindow->setText( tr("Close Window") );
179 m_closewindow->addTo( m_console ); 179 m_closewindow->addTo( m_console );
180 connect( m_closewindow, SIGNAL(activated() ), 180 connect( m_closewindow, SIGNAL(activated() ),
181 this, SLOT(slotClose() ) ); 181 this, SLOT(slotClose() ) );
182 182
183 183
184 /* 184 /*
185 * script actions 185 * script actions
186 */ 186 */
187 m_runScript_id = m_scripts->insertItem(tr("Run Script"), m_scriptsPop, -1, 0); 187 m_runScript_id = m_scripts->insertItem(tr("Run Script"), m_scriptsPop, -1, 0);
188 connect(m_scriptsPop, SIGNAL(activated(int)), this, SLOT(slotRunScript(int))); 188 connect(m_scriptsPop, SIGNAL(activated(int)), this, SLOT(slotRunScript(int)));
189 189
190 m_recordScript = new QAction(tr("Record Script"), QString::null, 0, this, 0); 190 m_recordScript = new QAction(tr("Record Script"), QString::null, 0, this, 0);
191 m_recordScript->addTo(m_scripts); 191 m_recordScript->addTo(m_scripts);
192 connect(m_recordScript, SIGNAL(activated()), this, SLOT(slotRecordScript())); 192 connect(m_recordScript, SIGNAL(activated()), this, SLOT(slotRecordScript()));
193 193
194 m_saveScript = new QAction(tr("Save Script"), QString::null, 0, this, 0); 194 m_saveScript = new QAction(tr("Save Script"), QString::null, 0, this, 0);
195 m_saveScript->addTo(m_scripts); 195 m_saveScript->addTo(m_scripts);
196 connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript())); 196 connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript()));
197 197
198 198
199 /* 199 /*
200 * action that open/closes the keyboard 200 * action that open/closes the keyboard
201 */ 201 */
202 m_openKeys = new QAction (tr("Open Keyboard..."), 202 m_openKeys = new QAction (tr("Open Keyboard..."),
203 Resource::loadPixmap( "console/keys/keyboard_icon" ), 203 Resource::loadPixmap( "console/keys/keyboard_icon" ),
204 QString::null, 0, this, 0); 204 QString::null, 0, this, 0);