author | llornkcor <llornkcor> | 2005-08-16 09:05:22 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-08-16 09:05:22 (UTC) |
commit | 2176aa6c353e794798aa8ecddc28be365e94989c (patch) (side-by-side diff) | |
tree | 595d31e18e427fbe93fed75efe70d952b9eacab7 | |
parent | e49f60f79b86a6feb3cae4bc33c19123deec4eb3 (diff) | |
download | opie-2176aa6c353e794798aa8ecddc28be365e94989c.zip opie-2176aa6c353e794798aa8ecddc28be365e94989c.tar.gz opie-2176aa6c353e794798aa8ecddc28be365e94989c.tar.bz2 |
set tab order and fix other things.
-rw-r--r-- | noncore/net/opie-smb/qsmb.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/noncore/net/opie-smb/qsmb.cpp b/noncore/net/opie-smb/qsmb.cpp index b978b46..e2ddc7f 100644 --- a/noncore/net/opie-smb/qsmb.cpp +++ b/noncore/net/opie-smb/qsmb.cpp @@ -47,13 +47,19 @@ Qsmb::Qsmb( QWidget* parent, const char* name, WFlags fl ) mountpt->setEditable(true); mountpt->insertItem("/mnt/samba1",-1); mountpt->insertItem("/mnt/samba2",-1); mountpt->insertItem("/mnt/samba3",-1); -// TextViewOutput + setTabOrder(BtnScan, username); + setTabOrder(username, password); + setTabOrder(password, CBHost); + setTabOrder(CBHost, TextViewOutput); + setTabOrder(TextViewOutput, mountpt); + setTabOrder(mountpt, DoItBtn); + setTabOrder(DoItBtn, UnmountBtn); top_element = NULL; scanning = false; } Qsmb::~Qsmb() @@ -62,12 +68,13 @@ Qsmb::~Qsmb() void Qsmb::clear() { if (scanning) return; ListViewScan->clear(); TextViewOutput->setText(""); + CBHost->clear(); top_element = NULL; } void Qsmb::scanClicked() { if (scanning) return; @@ -98,13 +105,14 @@ void* runitm(void* arg) caller->DoIt(); return(0); } void Qsmb::scan() { - if (scanning) return; + clear(); +// if (scanning) return; scanning = true; QString match; QString cmd; LScan->setText("Scanning..."); qApp->processEvents(); |