-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 2 |
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 | |||
@@ -124,65 +124,65 @@ void MainWindow::initUI() { | |||
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))); |