2
kenvvarproxydlg.h - Base dialog box for proxy configuration
4
Copyright (C) 2001- Dawit Alemayehu <adawit@kde.org>
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU General Public
8
License (GPL) version 2 as published by the Free Software
11
This library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Library General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this library; see the file COPYING.LIB. If not, write to
18
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
Boston, MA 02110-1301, USA.
21
#ifndef KENVVARPROXYDLG_H
22
#define KENVVARPROXYDLG_H
24
#include <QtCore/QMap>
26
#include "kproxydlgbase.h"
27
#include "ui_envvarproxy.h"
29
class EnvVarProxyDlgUI : public QWidget, public Ui::EnvVarProxyDlgUI
32
EnvVarProxyDlgUI( QWidget *parent ) : QWidget( parent ) {
38
class KEnvVarProxyDlg : public KProxyDialogBase
43
explicit KEnvVarProxyDlg( QWidget* parent = 0, const char* name = 0 );
46
virtual const KProxyData data() const;
47
virtual void setProxyData( const KProxyData &data );
50
virtual void accept();
54
void autoDetectPressed();
61
EnvVarProxyDlgUI* mDlg;
68
QMap<QString, EnvVarPair> mEnvVarsMap;
71
#endif // KENVVARPROXYDLG_H