summaryrefslogtreecommitdiff
path: root/noncore/net/opie-smb/qsmb.h
blob: 8fefe91cf46b5794dac64899af3402d0842db897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef QSMB_H
#define QSMB_H

#include "qsmbbase.h"

#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>

#include <qlistview.h>
#include <pthread.h>

class Qsmb : public FormQPESMBBase
{ 
    Q_OBJECT

public:
    static QString appName() { return QString::fromLatin1("opie-smb"); }
    Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~Qsmb();
     void scan();
     void DoIt();

private:
        QListViewItem *top_element;
        QComboBox *hosts;
        pthread_t tpid;
	bool scanning;

public slots:
	void clear();
	void scanClicked();
        void hostSelected(int);
        void DoItClicked();
};
void* runit(void *arg);
void* runitm(void *arg);

#endif // QSMB_H