summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/modemcmds.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/ppp/modemcmds.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/modemcmds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/modemcmds.h b/noncore/settings/networksettings/ppp/modemcmds.h
index ef69fec..81d67f4 100644
--- a/noncore/settings/networksettings/ppp/modemcmds.h
+++ b/noncore/settings/networksettings/ppp/modemcmds.h
@@ -1,98 +1,99 @@
1 1
2/* 2/*
3 * 3 *
4 * kPPP: A front end for pppd for the KDE project 4 * kPPP: A front end for pppd for the KDE project
5 * 5 *
6 * $Id$ 6 * $Id$
7 * 7 *
8 * Copyright (C) 1997 Bernd Johannes Wuebben 8 * Copyright (C) 1997 Bernd Johannes Wuebben
9 * wuebben@math.cornell.edu 9 * wuebben@math.cornell.edu
10 * 10 *
11 * based on EzPPP: 11 * based on EzPPP:
12 * Copyright (C) 1997 Jay Painter 12 * Copyright (C) 1997 Jay Painter
13 * 13 *
14 * This library is free software; you can redistribute it and/or 14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Library General Public 15 * modify it under the terms of the GNU Library General Public
16 * License as published by the Free Software Foundation; either 16 * License as published by the Free Software Foundation; either
17 * version 2 of the License, or (at your option) any later version. 17 * version 2 of the License, or (at your option) any later version.
18 * 18 *
19 * This library is distributed in the hope that it will be useful, 19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Library General Public License for more details. 22 * Library General Public License for more details.
23 * 23 *
24 * You should have received a copy of the GNU Library General Public 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 25 * License along with this program; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 * 27 *
28 */ 28 */
29 29
30 30
31#ifndef _MODEMCMDS_H_ 31#ifndef _MODEMCMDS_H_
32#define _MODEMCMDS_H_ 32#define _MODEMCMDS_H_
33 33
34#include <qgroupbox.h> 34#include <qgroupbox.h>
35#include <qdialog.h> 35#include <qdialog.h>
36#include <qlineedit.h> 36#include <qlineedit.h>
37#include <qpushbutton.h> 37#include <qpushbutton.h>
38#include <qlabel.h> 38#include <qlabel.h>
39#include "pppdata.h" 39#include "pppdata.h"
40 40
41class ModemCommands : public QDialog { 41class ModemCommands : public QDialog {
42 42
43Q_OBJECT 43Q_OBJECT
44 44
45public: 45public:
46 46
47 ModemCommands(PPPData*, QWidget *parent=0, const char *name=0); 47 ModemCommands(PPPData*, QWidget *parent=0, const char *name=0, bool modal=0, WFlags f = 0);
48 ~ModemCommands() {} 48 ~ModemCommands() {}
49 49
50private slots: 50private slots:
51 virtual void accept();
51 void slotCancel(); 52 void slotCancel();
52 void slotOk(); 53 void slotOk();
53 54
54private: 55private:
55 PPPData *_pppdata; 56 PPPData *_pppdata;
56 57
57 QGroupBox *box; 58 QGroupBox *box;
58 59
59 QLineEdit *initstr[int(PPPData::NumInitStrings)]; 60 QLineEdit *initstr[int(PPPData::NumInitStrings)];
60 61
61 QLineEdit *initresp; 62 QLineEdit *initresp;
62 QLabel *label2; 63 QLabel *label2;
63 64
64 QLabel *lpreinitslider; 65 QLabel *lpreinitslider;
65 QLabel *lpreinit; 66 QLabel *lpreinit;
66 67
67 QLabel *linitslider; 68 QLabel *linitslider;
68 QLabel *label3; 69 QLabel *label3;
69 70
70 QLabel *ldurationslider; 71 QLabel *ldurationslider;
71 QLabel *lduration; 72 QLabel *lduration;
72 73
73 QLineEdit *nodetectdialtone; 74 QLineEdit *nodetectdialtone;
74 QLabel *lnodetectdialtone; 75 QLabel *lnodetectdialtone;
75 76
76 QLineEdit *dialstr; 77 QLineEdit *dialstr;
77 QLabel *label4; 78 QLabel *label4;
78 79
79 QLineEdit *connectresp; 80 QLineEdit *connectresp;
80 QLabel *label5; 81 QLabel *label5;
81 82
82 QLineEdit *busyresp; 83 QLineEdit *busyresp;
83 QLabel *label6; 84 QLabel *label6;
84 85
85 QLineEdit *nocarrierresp; 86 QLineEdit *nocarrierresp;
86 QLabel *label7; 87 QLabel *label7;
87 88
88 QLineEdit *nodialtoneresp; 89 QLineEdit *nodialtoneresp;
89 QLabel *label8; 90 QLabel *label8;
90 91
91 QLineEdit *hangupstr; 92 QLineEdit *hangupstr;
92 QLabel *label9; 93 QLabel *label9;
93 94
94 QLineEdit *hangupresp; 95 QLineEdit *hangupresp;
95 QLabel *label10; 96 QLabel *label10;
96 97
97 QLineEdit *answerstr; 98 QLineEdit *answerstr;
98 QLabel *label11; 99 QLabel *label11;