summaryrefslogtreecommitdiff
path: root/noncore/net/opie-smb/qsmb.h
Unidiff
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