summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/dundialog.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/dundialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/dundialog.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/dundialog.h b/noncore/net/opietooth/manager/dundialog.h
new file mode 100644
index 0000000..746c8a3
--- a/dev/null
+++ b/noncore/net/opietooth/manager/dundialog.h
@@ -0,0 +1,42 @@
1#ifndef DUNDIALOG_H
2#define DUNDIALOG_H
3
4
5#include <qdialog.h>
6#include <opie2/oprocess.h>
7
8class QVBoxLayout;
9class QPushButton;
10class QMultiLineEdit;
11class QLineEdit;
12class QCheckBox;
13
14namespace OpieTooth {
15 class DunDialog : public QDialog {
16
17 Q_OBJECT
18
19 public:
20 DunDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0);
21 ~DunDialog();
22
23 private slots:
24 void connectToDevice();
25 void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len );
26 void fillErr(Opie::Core::OProcess*, char*, int);
27 void slotProcessExited(Opie::Core::OProcess* proc);
28 void closeEvent(QCloseEvent* e);
29 protected:
30 QVBoxLayout* layout;
31 QLineEdit* cmdLine;
32 QPushButton* connectButton;
33 QMultiLineEdit* outPut;
34 QCheckBox* doEncryption;
35
36 private:
37 QString m_device; //device BT address
38 int m_port; //device process
39 Opie::Core::OProcess* m_dunConnect; //DUN process
40 };
41}
42#endif