Falkon Develop
Cross-platform Qt-based web browser
qzsettings.h
Go to the documentation of this file.
1/* ============================================================
2* Falkon - Qt web browser
3* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
4*
5* This program is free software: you can redistribute it and/or modify
6* it under the terms of the GNU General Public License as published by
7* the Free Software Foundation, either version 3 of the License, or
8* (at your option) any later version.
9*
10* This program is distributed in the hope that it will be useful,
11* but WITHOUT ANY WARRANTY; without even the implied warranty of
12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13* GNU General Public License for more details.
14*
15* You should have received a copy of the GNU General Public License
16* along with this program. If not, see <http://www.gnu.org/licenses/>.
17* ============================================================ */
18#ifndef QZSETTINGS_H
19#define QZSETTINGS_H
20
21#include "qzcommon.h"
22#include "settings.h"
23
24#include <QStringList>
25
27{
28public:
29 QzSettings();
30
31 void loadSettings();
32 void saveSettings();
33
34 // AddressBar
44
45 // SearchEngines
51
52 // Web-Browser-Settings
55
56 QStringList autoOpenProtocols;
57 QStringList blockedProtocols;
58
59 QStringList allowedSchemes;
60 QStringList blockedSchemes;
61
62 // Browser-Tabs-Settings
63 Qz::NewTabPositionFlags newTabPosition;
67};
68
69#define qzSettings Settings::staticSettings()
70
71#endif // QZSETTINGS_H
bool openPopupsInTabs
Definition: qzsettings.h:65
bool selectAllOnDoubleClick
Definition: qzsettings.h:35
QStringList blockedSchemes
Definition: qzsettings.h:60
QStringList blockedProtocols
Definition: qzsettings.h:57
bool showZoomLabel
Definition: qzsettings.h:42
QStringList allowedSchemes
Definition: qzsettings.h:59
int defaultZoomLevel
Definition: qzsettings.h:53
bool searchOnEngineChange
Definition: qzsettings.h:46
bool showWSBSearchSuggestions
Definition: qzsettings.h:50
QStringList autoOpenProtocols
Definition: qzsettings.h:56
bool loadTabsOnActivation
Definition: qzsettings.h:54
bool selectAllOnClick
Definition: qzsettings.h:36
int showLocationSuggestions
Definition: qzsettings.h:38
bool alwaysShowGoIcon
Definition: qzsettings.h:40
Qz::NewTabPositionFlags newTabPosition
Definition: qzsettings.h:63
bool useInlineCompletion
Definition: qzsettings.h:41
bool showABSearchSuggestions
Definition: qzsettings.h:49
bool showLoadingProgress
Definition: qzsettings.h:37
bool tabsOnTop
Definition: qzsettings.h:64
bool searchFromAddressBar
Definition: qzsettings.h:47
bool alwaysSwitchTabsWithWheel
Definition: qzsettings.h:66
bool completionPopupExpandToWindow
Definition: qzsettings.h:43
bool searchWithDefaultEngine
Definition: qzsettings.h:48
bool showSwitchTab
Definition: qzsettings.h:39
#define FALKON_EXPORT
Definition: qzcommon.h:28