Diffstat (limited to 'noncore/settings/networksettings/ppp/modemcmds.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/modemcmds.h | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/modemcmds.h b/noncore/settings/networksettings/ppp/modemcmds.h new file mode 100644 index 0000000..9d078ec --- a/dev/null +++ b/noncore/settings/networksettings/ppp/modemcmds.h | |||
@@ -0,0 +1,119 @@ | |||
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., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
27 | * | ||
28 | */ | ||
29 | |||
30 | |||
31 | #ifndef _MODEMCMDS_H_ | ||
32 | #define _MODEMCMDS_H_ | ||
33 | |||
34 | #include <qgroupbox.h> | ||
35 | #include <qdialog.h> | ||
36 | #include <qlineedit.h> | ||
37 | #include <qpushbutton.h> | ||
38 | #include <qlabel.h> | ||
39 | #include "pppdata.h" | ||
40 | |||
41 | class ModemCommands : public QDialog { | ||
42 | |||
43 | Q_OBJECT | ||
44 | |||
45 | public: | ||
46 | |||
47 | ModemCommands(QWidget *parent=0, const char *name=0); | ||
48 | ~ModemCommands() {} | ||
49 | |||
50 | private slots: | ||
51 | void slotCancel(); | ||
52 | void slotOk(); | ||
53 | |||
54 | private: | ||
55 | |||
56 | QGroupBox *box; | ||
57 | |||
58 | QLineEdit *initstr[int(PPPData::NumInitStrings)]; | ||
59 | |||
60 | QLineEdit *initresp; | ||
61 | QLabel *label2; | ||
62 | |||
63 | QLabel *lpreinitslider; | ||
64 | QLabel *lpreinit; | ||
65 | |||
66 | QLabel *linitslider; | ||
67 | QLabel *label3; | ||
68 | |||
69 | QLabel *ldurationslider; | ||
70 | QLabel *lduration; | ||
71 | |||
72 | QLineEdit *nodetectdialtone; | ||
73 | QLabel *lnodetectdialtone; | ||
74 | |||
75 | QLineEdit *dialstr; | ||
76 | QLabel *label4; | ||
77 | |||
78 | QLineEdit *connectresp; | ||
79 | QLabel *label5; | ||
80 | |||
81 | QLineEdit *busyresp; | ||
82 | QLabel *label6; | ||
83 | |||
84 | QLineEdit *nocarrierresp; | ||
85 | QLabel *label7; | ||
86 | |||
87 | QLineEdit *nodialtoneresp; | ||
88 | QLabel *label8; | ||
89 | |||
90 | QLineEdit *hangupstr; | ||
91 | QLabel *label9; | ||
92 | |||
93 | QLineEdit *hangupresp; | ||
94 | QLabel *label10; | ||
95 | |||
96 | QLineEdit *answerstr; | ||
97 | QLabel *label11; | ||
98 | |||
99 | QLineEdit *ringresp; | ||
100 | QLabel *label12; | ||
101 | |||
102 | QLineEdit *answerresp; | ||
103 | QLabel *label13; | ||
104 | |||
105 | QLineEdit *escapestr; | ||
106 | QLabel *label14; | ||
107 | |||
108 | QLineEdit *escaperesp; | ||
109 | QLabel *label15; | ||
110 | |||
111 | QLabel *lslider; | ||
112 | QLabel *label16; | ||
113 | |||
114 | QLineEdit *volume_off, *volume_medium, *volume_high; | ||
115 | }; | ||
116 | #endif | ||
117 | |||
118 | |||
119 | |||