-rw-r--r-- | noncore/net/opie-smb/qsmb.h | 22 |
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 | |||
@@ -3,40 +3,42 @@ | |||
3 | 3 | ||
4 | #include "qsmbbase.h" | 4 | #include "qsmbbase.h" |
5 | 5 | ||
6 | #include <stdlib.h> | 6 | #include <stdlib.h> |
7 | #include <stdlib.h> | 7 | #include <stdlib.h> |
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | 9 | ||
10 | #include <qlistview.h> | 10 | #include <qlistview.h> |
11 | #include <pthread.h> | 11 | #include <pthread.h> |
12 | 12 | ||
13 | class Qsmb : public FormQPESMBBase | 13 | class Qsmb : public FormQPESMBBase |
14 | { | 14 | { |
15 | Q_OBJECT | 15 | Q_OBJECT |
16 | 16 | ||
17 | public: | 17 | public: |
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 | ||
24 | private: | 24 | private: |
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 | ||
30 | public slots: | 31 | public 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 | ||
38 | }; | 40 | }; |
39 | void* runit(void *arg); | 41 | void* runit(void *arg); |
40 | void* runitm(void *arg); | 42 | void* runitm(void *arg); |
41 | 43 | ||
42 | #endif // QSMB_H | 44 | #endif // QSMB_H |