port KAboutApplication -> KAboutApplicationDialog, KAboutKDE -> KAboutKDEDialog
[kdenetwork.git] / kppp / modemcmds.h
blob0035a7deb17d24d48320f67cdd165f2bfeddefd9
2 /*
4 * kPPP: A front end for pppd for the KDE project
6 * $Id$
8 * Copyright (C) 1997 Bernd Johannes Wuebben
9 * wuebben@math.cornell.edu
11 * based on EzPPP:
12 * Copyright (C) 1997 Jay Painter
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Library General Public
16 * License as published by the Free Software Foundation; either
17 * version 2 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Library General Public License for more details.
24 * You should have received a copy of the GNU Library General Public
25 * License along with this program; if not, write to the Free
26 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31 #ifndef _MODEMCMDS_H_
32 #define _MODEMCMDS_H_
34 #include <q3groupbox.h>
35 #include <kdialog.h>
36 #include <qlineedit.h>
37 #include <qpushbutton.h>
38 #include <qlabel.h>
39 #include <pppdata.h>
41 class QLineEdit;
42 class QLabel;
43 class QPushButton;
44 class Q3GroupBox;
46 class ModemCommands : public KDialog {
48 Q_OBJECT
50 public:
52 ModemCommands(QWidget *parent=0, const char *name=0);
53 ~ModemCommands() {}
55 private slots:
56 void slotCancel();
57 void slotOk();
59 private:
61 Q3GroupBox *box;
63 QLineEdit *initstr[int(PPPData::NumInitStrings)];
65 QLineEdit *initresp;
66 QLabel *label2;
68 QSlider *preinitslider;
69 QLabel *lpreinitslider;
70 QLabel *lpreinit;
72 QSlider *initslider;
73 QLabel *linitslider;
74 QLabel *label3;
76 QSlider *durationslider;
77 QLabel *ldurationslider;
78 QLabel *lduration;
80 QLineEdit *nodetectdialtone;
81 QLabel *lnodetectdialtone;
83 QLineEdit *dialstr;
84 QLabel *label4;
86 QLineEdit *connectresp;
87 QLabel *label5;
89 QLineEdit *busyresp;
90 QLabel *label6;
92 QLineEdit *nocarrierresp;
93 QLabel *label7;
95 QLineEdit *nodialtoneresp;
96 QLabel *label8;
98 QLineEdit *hangupstr;
99 QLabel *label9;
101 QLineEdit *hangupresp;
102 QLabel *label10;
104 QLineEdit *answerstr;
105 QLabel *label11;
107 QLineEdit *ringresp;
108 QLabel *label12;
110 QLineEdit *answerresp;
111 QLabel *label13;
113 QLineEdit *escapestr;
114 QLabel *label14;
116 QLineEdit *escaperesp;
117 QLineEdit *dlpresp;
118 QLabel *label17;
120 QLabel *label15;
122 QSlider *slider;
123 QLabel *lslider;
124 QLabel *label16;
126 QLineEdit *volume_off, *volume_medium, *volume_high;
128 #endif