00001 #ifndef PPPDIALOG_H 00002 #define PPPDIALOG_H 00003 00004 00005 #include <qdialog.h> 00006 #include <opie2/oprocess.h> 00007 00008 class QVBoxLayout; 00009 class QPushButton; 00010 class QMultiLineEdit; 00011 class QLineEdit; 00012 00013 00014 namespace OpieTooth { 00015 00016 class PPPDialog : public QDialog { 00017 00018 Q_OBJECT 00019 00020 public: 00021 PPPDialog( QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0, const QString& device = 0); 00022 ~PPPDialog(); 00023 00024 private slots: 00025 void connectToDevice(); 00026 void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); 00027 protected: 00028 QVBoxLayout* layout; 00029 QLineEdit* cmdLine; 00030 QPushButton* connectButton; 00031 QMultiLineEdit* outPut; 00032 00033 private: 00034 QString m_device; 00035 }; 00036 } 00037 #endif
1.4.2