Skip to content

Commit

Permalink
code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 25, 2023
1 parent 6193093 commit 46a3684
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
7 changes: 7 additions & 0 deletions python/core/auto_generated/gps/qgsgpslogger.sip.in
Expand Up @@ -11,6 +11,7 @@




class QgsGpsLogger : QObject
{
%Docstring(signature="appended")
Expand All @@ -28,6 +29,12 @@ from incoming GPS location points.
public:








QgsGpsLogger( QgsGpsConnection *connection, QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsGpsLogger with the specified ``parent`` object.
Expand Down
5 changes: 1 addition & 4 deletions src/core/gps/qgsgpslogger.cpp
Expand Up @@ -24,15 +24,12 @@
#include <QTimeZone>

#include "qgssettingsentryimpl.h"

const QgsSettingsEntryDouble *QgsGpsLogger::settingsDistanceThreshold = new QgsSettingsEntryDouble( QStringLiteral( "distanceThreshold" ), QgsSettings::sTreeGps, 0 );
const QgsSettingsEntryBool *QgsGpsLogger::settingsApplyLeapSeconds = new QgsSettingsEntryBool( QStringLiteral( "applyLeapSeconds" ), QgsSettings::sTreeGps, true );

const QgsSettingsEntryString *QgsGpsLogger::settingsTimestampTimeZone = new QgsSettingsEntryString( QStringLiteral( "timestampTimeZone" ), QgsSettings::sTreeGps, QString() );

const QgsSettingsEntryInteger *QgsGpsLogger::settingsTimeStampFormat = new QgsSettingsEntryInteger( QStringLiteral( "timeStampFormat" ), QgsSettings::sTreeGps, Qt::LocalTime );

const QgsSettingsEntryInteger *QgsGpsLogger::settingsLeapSecondsCorrection = new QgsSettingsEntryInteger( QStringLiteral( "leapSecondsCorrection" ), QgsSettings::sTreeGps, 18 );

const QgsSettingsEntryInteger *QgsGpsLogger::settingsAcquisitionInterval = new QgsSettingsEntryInteger( QStringLiteral( "acquisitionInterval" ), QgsSettings::sTreeGps, 0 );


Expand Down
7 changes: 2 additions & 5 deletions src/core/gps/qgsgpslogger.h
Expand Up @@ -32,17 +32,14 @@
#include "info.h"

class QgsSettingsEntryBool;

class QgsSettingsEntryString;

class QgsSettingsEntryInteger;

class QgsSettingsEntryDouble;

class QgsGpsConnection;
class QTimer;
class QgsGpsInformation;

class QTimer;


/**
* \ingroup core
Expand Down
1 change: 0 additions & 1 deletion src/core/settings/qgssettingsregistrycore.cpp
Expand Up @@ -25,7 +25,6 @@
#include "qgsowsconnection.h"
#include "qgsprocessing.h"
#include "qgsvectortileconnection.h"
#include "qgsgpslogger.h"
#include "qgsgpsdetector.h"


Expand Down

0 comments on commit 46a3684

Please sign in to comment.