Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index 2087f57..d5a435e 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp | |||
@@ -229,24 +229,27 @@ void EmulationHandler::clearScript() { | |||
229 | } | 229 | } |
230 | 230 | ||
231 | void EmulationHandler::clearLog() { | 231 | void EmulationHandler::clearLog() { |
232 | if (isLogging()) { | 232 | if (isLogging()) { |
233 | delete m_log; | 233 | delete m_log; |
234 | m_log = 0; | 234 | m_log = 0; |
235 | } | 235 | } |
236 | } | 236 | } |
237 | 237 | ||
238 | void EmulationHandler::runScript(const Script *script) { | 238 | void EmulationHandler::runScript(const Script *script) { |
239 | emit send(script->script()); | 239 | emit send(script->script()); |
240 | } | 240 | } |
241 | 241 | ||
242 | void EmulationHandler::copy() { | 242 | void EmulationHandler::copy() { |
243 | m_teWid->emitSelection(); | 243 | m_teWid->emitSelection(); |
244 | } | 244 | } |
245 | void EmulationHandler::paste() { | 245 | void EmulationHandler::paste() { |
246 | m_teWid->pasteClipboard(); | 246 | m_teWid->pasteClipboard(); |
247 | } | 247 | } |
248 | 248 | ||
249 | void EmulationHandler::setWrap(int columns) { | 249 | void EmulationHandler::setWrap(int columns) { |
250 | m_teWid->setWrapAt(columns); | 250 | m_teWid->setWrapAt(columns); |
251 | } | 251 | } |
252 | 252 | ||
253 | void EmulationHandler::setScrollbarLocation(int index) { | ||
254 | m_teWid->setScrollbarLocation(index); | ||
255 | } | ||