Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index a7541f0..49f9653 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -288,6 +288,5 @@ void MainWindow::slotNew() { | |||
288 | void MainWindow::slotRecordScript() { | 288 | void MainWindow::slotRecordScript() { |
289 | /* if (currentSession()) { | 289 | if (currentSession()) { |
290 | currentSession()->emulationLayer()->startRecording(); | 290 | currentSession()->emulationHandler()->startRecording(); |
291 | } | 291 | } |
292 | */ | ||
293 | } | 292 | } |
@@ -295,3 +294,3 @@ void MainWindow::slotRecordScript() { | |||
295 | void MainWindow::slotSaveScript() { | 294 | void MainWindow::slotSaveScript() { |
296 | /* if (currentSession() && currentSession()->emulationLayer()->isRecording()) { | 295 | if (currentSession() && currentSession()->emulationHandler()->isRecording()) { |
297 | MimeTypes types; | 296 | MimeTypes types; |
@@ -302,7 +301,6 @@ void MainWindow::slotSaveScript() { | |||
302 | if (!filename.isEmpty()) { | 301 | if (!filename.isEmpty()) { |
303 | currentSession()->emulationLayer()->script()->saveTo(filename); | 302 | currentSession()->emulationHandler()->script()->saveTo(filename); |
304 | currentSession()->emulationLayer()->clearScript(); | 303 | currentSession()->emulationHandler()->clearScript(); |
305 | } | 304 | } |
306 | } | 305 | } |
307 | */ | ||
308 | } | 306 | } |
@@ -310,3 +308,2 @@ void MainWindow::slotSaveScript() { | |||
310 | void MainWindow::slotRunScript() { | 308 | void MainWindow::slotRunScript() { |
311 | /* | ||
312 | if (currentSession()) { | 309 | if (currentSession()) { |
@@ -319,6 +316,5 @@ void MainWindow::slotRunScript() { | |||
319 | Script script(DocLnk(filename).file()); | 316 | Script script(DocLnk(filename).file()); |
320 | currentSession()->emulationLayer()->runScript(&script); | 317 | currentSession()->emulationHandler()->runScript(&script); |
321 | } | 318 | } |
322 | } | 319 | } |
323 | */ | ||
324 | } | 320 | } |