2 * Copyright (c) 2001 Dawit Alemayehu <adawit@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef USERAGENTSELECTORDLG_H
20 #define USERAGENTSELECTORDLG_H
25 // Forward declarations
27 class UserAgentSelectorWidget
;
29 class UserAgentSelectorDlg
: public KDialog
34 explicit UserAgentSelectorDlg( const QString
& caption
, UserAgentInfo
* info
,
35 QWidget
*parent
= 0, Qt::WindowFlags f
= 0 );
36 ~UserAgentSelectorDlg();
38 void setSiteName( const QString
& );
39 void setIdentity( const QString
& );
46 void onHostNameChanged( const QString
& );
47 void onAliasChanged( const QString
& );
50 UserAgentInfo
* m_userAgentInfo
;
51 UserAgentSelectorWidget
* m_widget
;
54 #endif // USERAGENTSELECTORDLG_H