1
2/*
3 *
4 * kPPP: A front end for pppd for the KDE project
5 *
6 * $Id$
7 *
8 * Copyright (C) 1997 Bernd Johannes Wuebben
9 * wuebben@math.cornell.edu
10 *
11 * based on EzPPP:
12 * Copyright (C) 1997 Jay Painter
13 *
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.
18 *
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.
23 *
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.
27 *
28 */
29
30
31#ifndef _MODEMCMDS_H_
32#define _MODEMCMDS_H_
33
34#include <q3groupbox.h>
35#include <kdialog.h>
36#include <qlineedit.h>
37#include <qpushbutton.h>
38#include <qlabel.h>
39#include <pppdata.h>
40
41class QLineEdit;
42class QLabel;
43class Q3GroupBox;
44
45class ModemCommands : public KDialog {
46
47Q_OBJECT
48
49public:
50
51 explicit ModemCommands(QWidget *parent=0, const char *name=0);
52 ~ModemCommands() {}
53
54private slots:
55 void slotCancel();
56 void slotOk();
57
58private:
59
60 Q3GroupBox *box;
61
62 QLineEdit *initstr[int(PPPData::NumInitStrings)];
63
64 QLineEdit *initresp;
65 QLabel *label2;
66
67 QSlider *preinitslider;
68 QLabel *lpreinitslider;
69 QLabel *lpreinit;
70
71 QSlider *initslider;
72 QLabel *linitslider;
73 QLabel *label3;
74
75 QSlider *durationslider;
76 QLabel *ldurationslider;
77 QLabel *lduration;
78
79 QLineEdit *nodetectdialtone;
80 QLabel *lnodetectdialtone;
81
82 QLineEdit *dialstr;
83 QLabel *label4;
84
85 QLineEdit *connectresp;
86 QLabel *label5;
87
88 QLineEdit *busyresp;
89 QLabel *label6;
90
91 QLineEdit *nocarrierresp;
92 QLabel *label7;
93
94 QLineEdit *nodialtoneresp;
95 QLabel *label8;
96
97 QLineEdit *hangupstr;
98 QLabel *label9;
99
100 QLineEdit *hangupresp;
101 QLabel *label10;
102
103 QLineEdit *answerstr;
104 QLabel *label11;
105
106 QLineEdit *ringresp;
107 QLabel *label12;
108
109 QLineEdit *answerresp;
110 QLabel *label13;
111
112 QLineEdit *escapestr;
113 QLabel *label14;
114
115 QLineEdit *escaperesp;
116 QLineEdit *dlpresp;
117 QLabel *label17;
118
119 QLabel *label15;
120
121 QSlider *slider;
122 QLabel *lslider;
123 QLabel *label16;
124
125 QLineEdit *volume_off, *volume_medium, *volume_high;
126};
127#endif
128
129
130
131