/usr/include/marble/QtMarbleConfigDialog.h is in libmarble-dev 4:4.8.2-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | //
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009 Bastian Holst <bastianholst@gmx.de>
//
#ifndef MARBLE_QTMARBLECONFIGDIALOG_H
#define MARBLE_QTMARBLECONFIGDIALOG_H
#include <QtGui/QDialog>
#include "marble_export.h"
#include <global.h>
#include "ui_MarbleViewSettingsWidget.h"
#include "ui_MarbleNavigationSettingsWidget.h"
#include "ui_MarbleTimeSettingsWidget.h"
namespace Marble
{
class MarbleWidget;
class QtMarbleConfigDialogPrivate;
class MARBLE_EXPORT QtMarbleConfigDialog : public QDialog
{
Q_OBJECT
public:
explicit QtMarbleConfigDialog( MarbleWidget *marbleWidget, QWidget *parent = 0 );
~QtMarbleConfigDialog();
// View Settings
QLocale::MeasurementSystem measurementSystem() const;
Marble::AngleUnit angleUnit() const;
Marble::MapQuality stillQuality() const;
Marble::MapQuality animationQuality() const;
int labelLocalization() const;
QFont mapFont() const;
// View
Marble::GraphicsSystem graphicsSystem() const;
// Navigation Settings
int dragLocation() const;
int onStartup() const;
bool animateTargetVoyage() const;
QString externalMapEditor() const;
// Cache Settings
int volatileTileCacheLimit() const;
int persistentTileCacheLimit() const;
QString proxyUrl() const;
int proxyPort() const;
QString proxyUser() const;
QString proxyPass() const;
bool proxyType() const;
bool proxyAuth() const;
// Time Settings
/**
* Read the value of 'Time/systemTime' key from settings
*/
bool systemTime() const;
/**
* Read the value of 'Time/lastSessionTime' key from settings
*/
bool lastSessionTime() const;
/**
* Read the value of 'Time/systemTimezone' key from settings
*/
bool systemTimezone() const;
/**
* Read the value of 'Time/UTC' key from settings
*/
bool UTC() const;
/**
* Read the value of 'Time/customTimezone' key from settings
*/
bool customTimezone() const;
/**
* Read the value of 'Time/chosenTimezone' key from settings
*/
int chosenTimezone() const;
void initializeCustomTimezone();
Q_SIGNALS:
/**
* This signal is emitted when when the loaded settings were changed.
* Either by the user or by loading them initially from disk.
*/
void settingsChanged();
/**
* The user clicked on the button to clear volatile tile cache.
*/
void clearVolatileCacheClicked();
/**
* The user clicked on the button to clear persistent tile cache.
*/
void clearPersistentCacheClicked();
public Q_SLOTS:
/**
* Read settings and update interface.
*/
void readSettings();
/**
* Write settings to disk.
*/
void writeSettings();
private Q_SLOTS:
/**
* Retrieve the current plugin state for the user interface.
*/
void retrievePluginState();
/**
* Apply the plugin state from the user interface.
*/
void applyPluginState();
/**
* Synchronize the loaded settings with the file on hard disk.
*/
void syncSettings();
/**
* Shows the about dialog for the plugin with the corresponding @p nameId.
*/
void showPluginAboutDialog( QString nameId );
/**
* Shows the configuration dialog for the plugin with the corresponding @p nameId.
*/
void showPluginConfigDialog( QString nameId );
/**
* Saves the settings of all plugins.
*/
void writePluginSettings();
private:
Q_DISABLE_COPY( QtMarbleConfigDialog )
QtMarbleConfigDialogPrivate * const d;
};
} // Marble namespace
#endif
|