author | korovkin <korovkin> | 2006-04-01 17:42:42 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-04-01 17:42:42 (UTC) |
commit | 812083469c80a0a07ad1ba41d6795e05f950710b (patch) (side-by-side diff) | |
tree | a6a8736439877f790c9a003f86cde2af74a853a6 /noncore/net/opietooth/manager/dundialog.h | |
parent | 2efba75b536877b4138197af4159849e87b12bde (diff) | |
download | opie-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) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/dundialog.h | 42 |
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 @@ +#ifndef DUNDIALOG_H +#define DUNDIALOG_H + + +#include <qdialog.h> +#include <opie2/oprocess.h> + +class QVBoxLayout; +class QPushButton; +class QMultiLineEdit; +class QLineEdit; +class QCheckBox; + +namespace OpieTooth { + class DunDialog : public QDialog { + + Q_OBJECT + + public: + DunDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); + ~DunDialog(); + + private slots: + void connectToDevice(); + void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); + void fillErr(Opie::Core::OProcess*, char*, int); + void slotProcessExited(Opie::Core::OProcess* proc); + void closeEvent(QCloseEvent* e); + protected: + QVBoxLayout* layout; + QLineEdit* cmdLine; + QPushButton* connectButton; + QMultiLineEdit* outPut; + QCheckBox* doEncryption; + + private: + QString m_device; //device BT address + int m_port; //device process + Opie::Core::OProcess* m_dunConnect; //DUN process + }; +} +#endif |