3 * kPPP: A front end for pppd for the KDE project
5 * Copyright (C) 1997 Bernd Johannes Wuebben
6 * wuebben@math.cornell.edu
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
19 * You should have received a copy of the GNU Library General Public
20 * License along with this program; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30 #include <qlineedit.h>
31 #include <qpushbutton.h>
36 #include <QCloseEvent>
37 #include <qprogressbar.h>
39 const int NUM_OF_ATI
= 8;
42 class ModemTransfer
: public QDialog
{
45 explicit ModemTransfer(QWidget
*parent
=0, const char *name
=0);
53 void readChar(unsigned char);
59 void closeEvent(QCloseEvent
*e
);
66 QProgressBar
*progressBar
;
69 QTimer
*timeout_timer
;
71 QString ati_query_strings
[NUM_OF_ATI
];
75 class ModemInfo
: public QDialog
{
78 explicit ModemInfo(QWidget
*parent
=0, const char *name
=0);
81 void setAtiString(int num
, const QString
&s
);
84 QLabel
*ati_label
[NUM_OF_ATI
];
85 QLineEdit
*ati_label_result
[NUM_OF_ATI
];