00001 00002 #ifndef ATCONFIGDIALOG_H 00003 #define ATCONFIGDIALOG_H 00004 00005 #include <qdialog.h> 00006 #include "profile.h" 00007 00008 class QLineEdit; 00009 class QSpinBox; 00010 class QComboBox; 00011 00012 class ATConfigDialog : public QDialog { 00013 00014 Q_OBJECT 00015 00016 public: 00017 ATConfigDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00018 00019 ~ATConfigDialog(); 00020 00021 void readConfig( const Profile& ); 00022 void writeConfig( Profile& ); 00023 00024 private: 00025 QWidget *tab0( QWidget* parent); 00026 QWidget *tab1( QWidget* parent); 00027 00028 private: 00029 QLineEdit *initStringLine; 00030 QLineEdit *resetStringLine; 00031 QLineEdit *dialPref1Line; 00032 QLineEdit *dialSuf1Line; 00033 QLineEdit *dialPref2Line; 00034 QLineEdit *dialSuf2Line; 00035 QLineEdit *dialPref3Line; 00036 QLineEdit *dialSuf3Line; 00037 QLineEdit *connectLine; 00038 QLineEdit *hangupLine; 00039 QSpinBox *dialTimeSpin; 00040 QSpinBox *delayRedialSpin; 00041 QSpinBox *numberTriesSpin; 00042 QSpinBox *dtrDropTimeSpin; 00043 QComboBox *bpsDetectBox; 00044 QComboBox *dcdLinesBox; 00045 QComboBox *multiLineUntagBox; 00046 00047 }; 00048 00049 00050 #endif
1.4.2