mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove three obsolete preferences options for geocoding
These options are not used any longer/were never used and can be removed to not confuse the users. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
c78a864e15
commit
4e320cca5b
7 changed files with 0 additions and 122 deletions
|
@ -256,33 +256,21 @@ private:
|
|||
/* Control the state of the Geocoding preferences */
|
||||
class GeocodingPreferences : public QObject {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool enable_geocoding READ enableGeocoding WRITE setEnableGeocoding NOTIFY enableGeocodingChanged)
|
||||
Q_PROPERTY(bool parse_dive_without_gps READ parseDiveWithoutGps WRITE setParseDiveWithoutGps NOTIFY parseDiveWithoutGpsChanged)
|
||||
Q_PROPERTY(bool tag_existing_dives READ tagExistingDives WRITE setTagExistingDives NOTIFY tagExistingDivesChanged)
|
||||
Q_PROPERTY(taxonomy_category first_category READ firstTaxonomyCategory WRITE setFirstTaxonomyCategory NOTIFY firstTaxonomyCategoryChanged)
|
||||
Q_PROPERTY(taxonomy_category second_category READ secondTaxonomyCategory WRITE setSecondTaxonomyCategory NOTIFY secondTaxonomyCategoryChanged)
|
||||
Q_PROPERTY(taxonomy_category third_category READ thirdTaxonomyCategory WRITE setThirdTaxonomyCategory NOTIFY thirdTaxonomyCategoryChanged)
|
||||
public:
|
||||
GeocodingPreferences(QObject *parent);
|
||||
bool enableGeocoding() const;
|
||||
bool parseDiveWithoutGps() const;
|
||||
bool tagExistingDives() const;
|
||||
taxonomy_category firstTaxonomyCategory() const;
|
||||
taxonomy_category secondTaxonomyCategory() const;
|
||||
taxonomy_category thirdTaxonomyCategory() const;
|
||||
|
||||
public slots:
|
||||
void setEnableGeocoding(bool value);
|
||||
void setParseDiveWithoutGps(bool value);
|
||||
void setTagExistingDives(bool value);
|
||||
void setFirstTaxonomyCategory(taxonomy_category value);
|
||||
void setSecondTaxonomyCategory(taxonomy_category value);
|
||||
void setThirdTaxonomyCategory(taxonomy_category value);
|
||||
|
||||
signals:
|
||||
void enableGeocodingChanged(bool value);
|
||||
void parseDiveWithoutGpsChanged(bool value);
|
||||
void tagExistingDivesChanged(bool value);
|
||||
void firstTaxonomyCategoryChanged(taxonomy_category value);
|
||||
void secondTaxonomyCategoryChanged(taxonomy_category value);
|
||||
void thirdTaxonomyCategoryChanged(taxonomy_category value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue