Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

modemcmds.h

Go to the documentation of this file.
00001 
00002 /*
00003  *
00004  *            kPPP: A front end for pppd for the KDE project
00005  *
00006  * $Id: modemcmds.h,v 1.3 2003/08/09 17:14:55 kergoth Exp $
00007  *
00008  * Copyright (C) 1997 Bernd Johannes Wuebben
00009  * wuebben@math.cornell.edu
00010  *
00011  * based on EzPPP:
00012  * Copyright (C) 1997  Jay Painter
00013  *
00014  * This library is free software; you can redistribute it and/or
00015  * modify it under the terms of the GNU Library General Public
00016  * License as published by the Free Software Foundation; either
00017  * version 2 of the License, or (at your option) any later version.
00018  *
00019  * This library is distributed in the hope that it will be useful,
00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00022  * Library General Public License for more details.
00023  *
00024  * You should have received a copy of the GNU Library General Public
00025  * License along with this program; if not, write to the Free
00026  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00027  *
00028  */
00029 
00030 
00031 #ifndef _MODEMCMDS_H_
00032 #define _MODEMCMDS_H_
00033 
00034 #include <qgroupbox.h>
00035 #include <qdialog.h>
00036 #include <qlineedit.h>
00037 #include <qpushbutton.h>
00038 #include <qlabel.h>
00039 #include "pppdata.h"
00040 
00041 class ModemCommands : public QDialog {
00042 
00043 Q_OBJECT
00044 
00045 public:
00046 
00047   ModemCommands(PPPData*, QWidget *parent=0, const char *name=0, bool modal=0, WFlags f = 0);
00048   ~ModemCommands() {}
00049 
00050 private slots:
00051   virtual void accept();
00052   void slotCancel();
00053   void slotOk();
00054 
00055 private:
00056   PPPData *_pppdata;
00057 
00058   QGroupBox *box;
00059 
00060   QLineEdit *initstr[int(PPPData::NumInitStrings)];
00061 
00062   QLineEdit *initresp;
00063   QLabel *label2;
00064 
00065   QLabel *lpreinitslider;
00066   QLabel *lpreinit;
00067 
00068   QLabel *linitslider;
00069   QLabel *label3;
00070 
00071   QLabel *ldurationslider;
00072   QLabel *lduration;
00073 
00074   QLineEdit *nodetectdialtone;
00075   QLabel *lnodetectdialtone;
00076 
00077   QLineEdit *dialstr;
00078   QLabel *label4;
00079 
00080   QLineEdit *connectresp;
00081   QLabel *label5;
00082 
00083   QLineEdit *busyresp;
00084   QLabel *label6;
00085 
00086   QLineEdit *nocarrierresp;
00087   QLabel *label7;
00088 
00089   QLineEdit *nodialtoneresp;
00090   QLabel *label8;
00091 
00092   QLineEdit *hangupstr;
00093   QLabel *label9;
00094 
00095   QLineEdit *hangupresp;
00096   QLabel *label10;
00097 
00098   QLineEdit *answerstr;
00099   QLabel *label11;
00100 
00101   QLineEdit *ringresp;
00102   QLabel *label12;
00103 
00104   QLineEdit *answerresp;
00105   QLabel *label13;
00106 
00107   QLineEdit *escapestr;
00108   QLabel *label14;
00109 
00110   QLineEdit *escaperesp;
00111   QLabel *label15;
00112 
00113   QLabel *lslider;
00114   QLabel *label16;
00115 
00116   QLineEdit *volume_off, *volume_medium, *volume_high;
00117 };
00118 #endif
00119 
00120 
00121 

Generated on Sat Nov 5 16:17:50 2005 for OPIE by  doxygen 1.4.2