summaryrefslogtreecommitdiff
path: root/noncore/net/opie-smb/qsmb.h
authorllornkcor <llornkcor>2005-08-16 08:48:50 (UTC)
committer llornkcor <llornkcor>2005-08-16 08:48:50 (UTC)
commite49f60f79b86a6feb3cae4bc33c19123deec4eb3 (patch) (unidiff)
tree0dbfa09072fcdd70f19a06ac93ad8f3f97b2978c /noncore/net/opie-smb/qsmb.h
parent373b2f0bdc2be62c6e275c74488a8921d03fc299 (diff)
downloadopie-e49f60f79b86a6feb3cae4bc33c19123deec4eb3.zip
opie-e49f60f79b86a6feb3cae4bc33c19123deec4eb3.tar.gz
opie-e49f60f79b86a6feb3cae4bc33c19123deec4eb3.tar.bz2
remove last popen. add umount.
Diffstat (limited to 'noncore/net/opie-smb/qsmb.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opie-smb/qsmb.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/noncore/net/opie-smb/qsmb.h b/noncore/net/opie-smb/qsmb.h
index b406a1e..fba94d0 100644
--- a/noncore/net/opie-smb/qsmb.h
+++ b/noncore/net/opie-smb/qsmb.h
@@ -12,26 +12,28 @@
12 12
13class Qsmb : public FormQPESMBBase 13class Qsmb : public FormQPESMBBase
14{ 14{
15 Q_OBJECT 15 Q_OBJECT
16 16
17public: 17public:
18 static QString appName() { return QString::fromLatin1("opie-smb"); } 18 static QString appName() { return QString::fromLatin1("opie-smb"); }
19 Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 19 Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
20 ~Qsmb(); 20 ~Qsmb();
21 void scan(); 21 void scan();
22 void DoIt(); 22 void DoIt();
23 23
24private: 24private:
25 QListViewItem *top_element; 25 QListViewItem *top_element;
26 QComboBox *hosts; 26 QComboBox *hosts;
27 pthread_t tpid; 27 pthread_t tpid;
28 bool scanning; 28 bool scanning;
29 bool isMounted(const QString &);
29 30
30public slots: 31public slots:
31 void clear(); 32 void clear();
32 void scanClicked(); 33 void scanClicked();
33 void hostSelected(int); 34 void hostSelected(int);
34 void DoItClicked(); 35 void DoItClicked();
36 void umountIt();
35 QString out; 37 QString out;
36 bool runCommand(const QStringList &); 38 bool runCommand(const QStringList &);
37 39