summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opie-smb/qsmb.cpp12
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
@@ -49,9 +49,15 @@ Qsmb::Qsmb( QWidget* parent, const char* name, WFlags fl )
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;
}
@@ -64,8 +70,9 @@ void Qsmb::clear()
{
if (scanning) return;
ListViewScan->clear();
TextViewOutput->setText("");
+ CBHost->clear();
top_element = NULL;
}
void Qsmb::scanClicked()
@@ -100,9 +107,10 @@ void* runitm(void* arg)
}
void Qsmb::scan()
{
- if (scanning) return;
+ clear();
+// if (scanning) return;
scanning = true;
QString match;
QString cmd;