author | josef <josef> | 2002-10-26 11:38:42 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-26 11:38:42 (UTC) |
commit | 2dc92ada34785bbfff8ca1202e4d53eb0606c362 (patch) (side-by-side diff) | |
tree | c92a92b5cbb1d80962821212b9157260a9faa0f6 /noncore/apps/opie-console/transferdialog.cpp | |
parent | 65ada01d36dc25f053a09222e8abdb21f2fc3a2a (diff) | |
download | opie-2dc92ada34785bbfff8ca1202e4d53eb0606c362.zip opie-2dc92ada34785bbfff8ca1202e4d53eb0606c362.tar.gz opie-2dc92ada34785bbfff8ca1202e4d53eb0606c362.tar.bz2 |
- nonmodal file transfer (doesn't work yet!)
Diffstat (limited to 'noncore/apps/opie-console/transferdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/transferdialog.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/transferdialog.cpp b/noncore/apps/opie-console/transferdialog.cpp index 75c4c72..0af1911 100644 --- a/noncore/apps/opie-console/transferdialog.cpp +++ b/noncore/apps/opie-console/transferdialog.cpp @@ -20,3 +20,3 @@ TransferDialog::TransferDialog(QWidget *parent, MainWindow *mainwindow, const char *) -: QDialog(parent, 0l, true), m_win(mainwindow) +: QDialog(parent, 0l, false), m_win(mainwindow) { @@ -31,2 +31,3 @@ TransferDialog::TransferDialog(QWidget *parent, MainWindow *mainwindow, const ch m_autocleanup = 0; + m_running = true; @@ -169,3 +170,7 @@ void TransferDialog::slotCancel() cleanup(); - if(m_autocleanup) close(); + if(m_autocleanup) + { + m_running = false; + close(); + } else @@ -179,2 +184,3 @@ void TransferDialog::slotCancel() { + m_running = false; close(); @@ -266 +272,6 @@ void TransferDialog::slotMode(int id) +bool TransferDialog::isRunning() +{ + return m_running; +} + |