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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opie-smb/qsmb.h b/noncore/net/opie-smb/qsmb.h
index abf27da..175b2c3 100644
--- a/noncore/net/opie-smb/qsmb.h
+++ b/noncore/net/opie-smb/qsmb.h
@@ -1,24 +1,26 @@
1#ifndef QSMB_H 1#ifndef QSMB_H
2#define QSMB_H 2#define QSMB_H
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#include <qlistview.h>
14
13class Qsmb : public FormQPESMBBase 15class Qsmb : public FormQPESMBBase
14{ 16{
15 Q_OBJECT 17 Q_OBJECT
16 18
17public: 19public:
18 static QString appName() { return QString::fromLatin1("opie-smb"); } 20 static QString appName() { return QString::fromLatin1("opie-smb"); }
19 Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 21 Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
20 ~Qsmb(); 22 ~Qsmb();
21 void scan(); 23 void scan();
22 void DoIt(); 24 void DoIt();
23 25
24private: 26private:
@@ -29,17 +31,19 @@ private:
29 bool isMounted(const QString &); 31 bool isMounted(const QString &);
30 QString getMount(const QString &); 32 QString getMount(const QString &);
31 33
32public slots: 34public slots:
33 void clear(); 35 void clear();
34 void scanClicked(); 36 void scanClicked();
35 void hostSelected(int); 37 void hostSelected(int);
36 void DoItClicked(); 38 void DoItClicked();
37 void umountIt(); 39 void umountIt();
38 QString out; 40 QString out;
39 bool runCommand(const QStringList &); 41 bool runCommand(const QStringList &);
40 42
43private slots:
44 void TextViewClicked(QListViewItem*);
41}; 45};
42void* runit(void *arg); 46void* runit(void *arg);
43void* runitm(void *arg); 47void* runitm(void *arg);
44 48
45#endif // QSMB_H 49#endif // QSMB_H