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, 16 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 0bd6a13..fbeaa74 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -15,2 +15,3 @@ #include "tabwidget.h" +#include "transferdialog.h" @@ -65,2 +66,8 @@ void MainWindow::initUI() { + m_transfer = new QAction(); + m_transfer->setText( tr("Transfer file...") ); + m_transfer->addTo( m_console ); + connect(m_transfer, SIGNAL(activated() ), + this, SLOT(slotTransfer() ) ); + /* @@ -216,2 +223,11 @@ void MainWindow::create( const Profile& prof ) { m_curSession = ses; + } + +void MainWindow::slotTransfer() +{ + TransferDialog dlg(this); + dlg.showMaximized(); + dlg.exec(); +} + |