author | llornkcor <llornkcor> | 2005-08-11 10:10:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-08-11 10:10:40 (UTC) |
commit | 6040d26c56a95d9f5bd09688e22009fc5b5e124d (patch) (unidiff) | |
tree | 53ad03c346cc006d17093918d5cf6bbb09aa4b3b /noncore/net/opie-smb/qsmb.h | |
parent | 8938048502047f781447ed24351512cdca997a2e (diff) | |
download | opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.zip opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.tar.gz opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.tar.bz2 |
add opie-smb
-rw-r--r-- | noncore/net/opie-smb/qsmb.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/net/opie-smb/qsmb.h b/noncore/net/opie-smb/qsmb.h new file mode 100644 index 0000000..8fefe91 --- a/dev/null +++ b/noncore/net/opie-smb/qsmb.h | |||
@@ -0,0 +1,39 @@ | |||
1 | #ifndef QSMB_H | ||
2 | #define QSMB_H | ||
3 | |||
4 | #include "qsmbbase.h" | ||
5 | |||
6 | #include <stdlib.h> | ||
7 | #include <stdlib.h> | ||
8 | #include <stdio.h> | ||
9 | |||
10 | #include <qlistview.h> | ||
11 | #include <pthread.h> | ||
12 | |||
13 | class Qsmb : public FormQPESMBBase | ||
14 | { | ||
15 | Q_OBJECT | ||
16 | |||
17 | public: | ||
18 | static QString appName() { return QString::fromLatin1("opie-smb"); } | ||
19 | Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
20 | ~Qsmb(); | ||
21 | void scan(); | ||
22 | void DoIt(); | ||
23 | |||
24 | private: | ||
25 | QListViewItem *top_element; | ||
26 | QComboBox *hosts; | ||
27 | pthread_t tpid; | ||
28 | bool scanning; | ||
29 | |||
30 | public slots: | ||
31 | void clear(); | ||
32 | void scanClicked(); | ||
33 | void hostSelected(int); | ||
34 | void DoItClicked(); | ||
35 | }; | ||
36 | void* runit(void *arg); | ||
37 | void* runitm(void *arg); | ||
38 | |||
39 | #endif // QSMB_H | ||