Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index c7750be..406586c 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -339,2 +339,5 @@ void MainWindow::slotConnect() { m_transfer->setEnabled( true ); + m_recordScript->setEnabled( true ); + m_saveScript->setEnabled( true ); + m_runScript->setEnabled( true ); } @@ -349,2 +352,5 @@ void MainWindow::slotDisconnect() { m_transfer->setEnabled( false ); + m_recordScript->setEnabled( false); + m_saveScript->setEnabled( false ); + m_runScript->setEnabled( false ); } @@ -435,5 +441,2 @@ void MainWindow::create( const Profile& prof ) { m_terminate->setEnabled( true ); - m_recordScript->setEnabled( true ); - m_saveScript->setEnabled( true ); - m_runScript->setEnabled( true ); m_fullscreen->setEnabled( true ); @@ -441,2 +444,5 @@ void MainWindow::create( const Profile& prof ) { m_transfer->setEnabled( false ); + m_recordScript->setEnabled( false ); + m_saveScript->setEnabled( false ); + m_runScript->setEnabled( false ); @@ -492,2 +498,5 @@ void MainWindow::slotSessionChanged( Session* ses ) { m_disconnect->setEnabled( true ); + m_recordScript->setEnabled( true ); + m_saveScript->setEnabled( true ); + m_runScript->setEnabled( true ); } else { @@ -495,2 +504,5 @@ void MainWindow::slotSessionChanged( Session* ses ) { m_disconnect->setEnabled( false ); + m_recordScript->setEnabled( false ); + m_saveScript->setEnabled( false ); + m_runScript->setEnabled( false ); } @@ -503,2 +515,6 @@ void MainWindow::slotSessionChanged( Session* ses ) { + + + + QWidget *w = m_curSession->widget(); |