summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/dundialog.h
authorkorovkin <korovkin>2006-04-01 17:42:42 (UTC)
committer korovkin <korovkin>2006-04-01 17:42:42 (UTC)
commit812083469c80a0a07ad1ba41d6795e05f950710b (patch) (unidiff)
treea6a8736439877f790c9a003f86cde2af74a853a6 /noncore/net/opietooth/manager/dundialog.h
parent2efba75b536877b4138197af4159849e87b12bde (diff)
downloadopie-812083469c80a0a07ad1ba41d6795e05f950710b.zip
opie-812083469c80a0a07ad1ba41d6795e05f950710b.tar.gz
opie-812083469c80a0a07ad1ba41d6795e05f950710b.tar.bz2
DUN connection parameters dialog added.
Diffstat (limited to 'noncore/net/opietooth/manager/dundialog.h') (more/less context) (show 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