summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/pppdialog.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/pppdialog.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/pppdialog.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/pppdialog.h b/noncore/net/opietooth/manager/pppdialog.h
index e0ffc7f..d55c15f 100644
--- a/noncore/net/opietooth/manager/pppdialog.h
+++ b/noncore/net/opietooth/manager/pppdialog.h
@@ -1,12 +1,22 @@
1/* $Id$ */
2/* PPP/rfcomm connection dialog */
3/***************************************************************************
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 ***************************************************************************/
1#ifndef PPPDIALOG_H 11#ifndef PPPDIALOG_H
2#define PPPDIALOG_H 12#define PPPDIALOG_H
3 13
4 14
5#include <qdialog.h> 15#include <qdialog.h>
6#include <opie2/oprocess.h> 16#include <opie2/oprocess.h>
7 17
8class QVBoxLayout; 18class QVBoxLayout;
9class QPushButton; 19class QPushButton;
10class QMultiLineEdit; 20class QMultiLineEdit;
11class QLineEdit; 21class QLineEdit;
12class QComboBox; 22class QComboBox;
@@ -29,23 +39,23 @@ namespace OpieTooth {
29 39
30 private slots: 40 private slots:
31 void connectToDevice(); 41 void connectToDevice();
32 void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); 42 void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len );
33 void fillErr(Opie::Core::OProcess*, char*, int); 43 void fillErr(Opie::Core::OProcess*, char*, int);
34 void slotProcessExited(Opie::Core::OProcess* proc); 44 void slotProcessExited(Opie::Core::OProcess* proc);
35 void closeEvent(QCloseEvent* e); 45 void closeEvent(QCloseEvent* e);
36 public: 46 public:
37 //Array of connections indexed by rfcomm device number 47 //Array of connections indexed by rfcomm device number
38 static Connection conns[NCONNECTS]; 48 static Connection conns[NCONNECTS];
39 protected: 49 protected:
40 QVBoxLayout* layout; 50 QVBoxLayout* layout;
41 QLineEdit* cmdLine; 51 QComboBox* cmdLine;
42 QPushButton* connectButton; 52 QPushButton* connectButton;
43 QMultiLineEdit* outPut; 53 QMultiLineEdit* outPut;
44 QComboBox* serPort; 54 QComboBox* serPort;
45 55
46 private: 56 private:
47 QString m_device; 57 QString m_device;
48 int m_port; 58 int m_port;
49 }; 59 };
50} 60}
51#endif 61#endif