summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/general.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/ppp/general.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/general.h100
1 files changed, 100 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/general.h b/noncore/settings/networksettings/ppp/general.h
new file mode 100644
index 0000000..66a9eec
--- a/dev/null
+++ b/noncore/settings/networksettings/ppp/general.h
@@ -0,0 +1,100 @@
1/*
2 *
3 * kPPP: A pppd front end for the KDE project
4 *
5 * $Id$
6 *
7 * Copyright (C) 1997 Bernd Johannes Wuebben
8 * wuebben@math.cornell.edu
9 *
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details.
20 *
21 * You should have received a copy of the GNU Library General Public
22 * License along with this program; if not, write to the Free
23 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26#ifndef _GENERAL_H_
27#define _GENERAL_H_
28
29#include <qwidget.h>
30#include <qcombobox.h>
31#include <qlabel.h>
32#include <qcheckbox.h>
33#include <qgroupbox.h>
34#include <qpushbutton.h>
35//#include <kcolorbutton.h>
36
37class QSlider;
38class KIntNumInput;
39
40
41
42class ModemWidget : public QWidget {
43 Q_OBJECT
44public:
45 ModemWidget( QWidget *parent=0, const char *name=0 );
46
47private slots:
48 void setmodemdc(int);
49 void setflowcontrol(int);
50 void modemtimeoutchanged(int);
51 void modemlockfilechanged(bool);
52 void setenter(int);
53 void speed_selection(int);
54
55private:
56 QComboBox *enter;
57 QLabel *label1;
58 QLabel *label2;
59 QLabel *labeltmp;
60 QLabel *labelenter;
61 QComboBox *modemdevice;
62 QComboBox *flowcontrol;
63
64 QComboBox *baud_c;
65 QLabel *baud_label;
66
67 KIntNumInput *modemtimeout;
68 QCheckBox *modemlockfile;
69};
70
71
72class ModemWidget2 : public QWidget {
73 Q_OBJECT
74public:
75 ModemWidget2( QWidget *parent=0, const char *name=0 );
76
77private slots:
78 void waitfordtchanged(bool);
79 void busywaitchanged(int);
80 // void use_cdline_toggled(bool);
81 void modemcmdsbutton();
82 // void terminal();
83 void query_modem();
84 void volumeChanged(int);
85
86private:
87 QLabel *labeltmp;
88 QPushButton *modemcmds;
89 QPushButton *modeminfo_button;
90 // QPushButton *terminal_button;
91 QFrame *fline;
92 QCheckBox *waitfordt;
93 KIntNumInput *busywait;
94 QCheckBox *chkbox1;
95 QSlider *volume;
96};
97
98#endif
99
100