Changeset View
Changeset View
Standalone View
Standalone View
libcolorcorrect/kded/locationupdater.h
Show All 29 Lines | 29 | { | |||
---|---|---|---|---|---|
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | public: | 31 | public: | ||
32 | LocationUpdater(QObject* parent, const QList<QVariant> &); | 32 | LocationUpdater(QObject* parent, const QList<QVariant> &); | ||
33 | 33 | | |||
34 | public Q_SLOTS: | 34 | public Q_SLOTS: | ||
35 | void sendLocation(double latitude, double longitude); | 35 | void sendLocation(double latitude, double longitude); | ||
36 | 36 | | |||
37 | private: | 37 | private: | ||
38 | ColorCorrect::CompositorAdaptor *m_adaptor; | 38 | void resetLocator(); | ||
39 | ColorCorrect::Geolocator *m_locator; | 39 | | ||
40 | ColorCorrect::CompositorAdaptor *m_adaptor = nullptr; | ||||
41 | ColorCorrect::Geolocator *m_locator = nullptr; | ||||
40 | }; | 42 | }; | ||
41 | 43 | | |||
42 | #endif | 44 | #endif |