2009-07-25 02:56:59 +02:00
|
|
|
/***************************************************************************
|
|
|
|
|
|
|
|
cwebsettings.h
|
|
|
|
|
2018-02-12 02:53:46 +01:00
|
|
|
(c) 2000-2017 Benoît Minisini <g4mba5@gmail.com>
|
2009-07-25 02:56:59 +02:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2009-08-17 12:41:51 +02:00
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
2009-07-25 02:56:59 +02:00
|
|
|
any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2011-06-03 02:51:09 +02:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
2011-12-31 03:39:20 +01:00
|
|
|
MA 02110-1301, USA.
|
2009-07-25 02:56:59 +02:00
|
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __CWEBSETTINGS_H
|
|
|
|
#define __CWEBSETTINGS_H
|
|
|
|
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
#include <QUrl>
|
|
|
|
#include <QWebView>
|
|
|
|
#include <QWebSettings>
|
|
|
|
|
|
|
|
#ifndef __CWEBSETTINGS_CPP
|
|
|
|
|
2015-01-01 12:46:48 +01:00
|
|
|
extern GB_DESC WebViewSettingsDesc[];
|
|
|
|
extern GB_DESC WebSettingsFontsDesc[];
|
|
|
|
extern GB_DESC WebSettingsIconDatabaseDesc[];
|
|
|
|
extern GB_DESC WebSettingsCacheDesc[];
|
|
|
|
extern GB_DESC WebSettingsProxyDesc[];
|
|
|
|
extern GB_DESC WebSettingsDesc[];
|
2009-07-25 02:56:59 +02:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define WEBVIEW ((QWebView *)((QT_WIDGET *)_object)->widget)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2011-08-24 09:26:09 +02:00
|
|
|
//void WEBSETTINGS_set_cache(QWebView *view, bool on);
|
2009-12-07 18:14:32 +01:00
|
|
|
|
2009-07-25 02:56:59 +02:00
|
|
|
#endif
|