3 Copyright (c) Kalle Dalheimer <kalle@kde.org> 1997
4 Copyright (c) David Faure <faure@kde.org> 1998
5 Copyright (c) Dirk Mueller <mueller@kde.org> 2000
7 Completely re-written by:
8 Copyright (C) 2000- Dawit Alemayehu <adawit@kde.org>
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License (GPL)
12 version 2 as published by the Free Software Foundation.
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 General Public License
20 along with this library; see the file COPYING.LIB. If not, write to
21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA.
25 #ifndef _USERAGENTDLG_H
26 #define _USERAGENTDLG_H
29 #include "ui_useragentdlg.h"
33 class QTreeWidgetItem
;
35 class UserAgentDlg
: public KCModule
40 UserAgentDlg(QWidget
*parent
, const QVariantList
&args
);
45 virtual void defaults();
46 QString
quickHelp() const;
51 void on_newButton_clicked();
52 void on_changeButton_clicked();
53 void on_deleteButton_clicked();
54 void on_deleteAllButton_clicked();
56 void on_sendUACheckBox_clicked();
57 void on_osNameCheckBox_clicked();
58 void on_osVersionCheckBox_clicked();
59 void on_platformCheckBox_clicked();
60 void on_processorTypeCheckBox_clicked();
61 void on_languageCheckBox_clicked();
62 void on_sitePolicyTreeWidget_itemSelectionChanged();
63 void on_sitePolicyTreeWidget_itemDoubleClicked(QTreeWidgetItem
*, int);
66 void changeDefaultUAModifiers();
67 void configChanged(bool enable
= true);
68 bool handleDuplicate( const QString
&, const QString
&, const QString
& );
79 // Useragent modifiers...
82 // Fake user-agent modifiers...
83 UserAgentInfo
* m_userAgentInfo
;