From 2176aa6c353e794798aa8ecddc28be365e94989c Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 16 Aug 2005 09:05:22 +0000 Subject: set tab order and fix other things. --- (limited to 'noncore/net') 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 @@ -50,7 +50,13 @@ Qsmb::Qsmb( QWidget* parent, const char* name, WFlags fl ) 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; @@ -65,6 +71,7 @@ void Qsmb::clear() if (scanning) return; ListViewScan->clear(); TextViewOutput->setText(""); + CBHost->clear(); top_element = NULL; } @@ -101,7 +108,8 @@ void* runitm(void* arg) void Qsmb::scan() { - if (scanning) return; + clear(); +// if (scanning) return; scanning = true; QString match; -- cgit v0.9.0.2