Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/AutoNavigation.h
Show All 31 Lines | 30 | public: | |||
---|---|---|---|---|---|
32 | /** | 32 | /** | ||
33 | * @brief Constructor | 33 | * @brief Constructor | ||
34 | * @param widget the marble widget. It cannot be null. | 34 | * @param widget the marble widget. It cannot be null. | ||
35 | * @param parent optional parent object | 35 | * @param parent optional parent object | ||
36 | */ | 36 | */ | ||
37 | explicit AutoNavigation( MarbleModel *model, const ViewportParams *viewport, QObject *parent = 0 ); | 37 | explicit AutoNavigation( MarbleModel *model, const ViewportParams *viewport, QObject *parent = 0 ); | ||
38 | 38 | | |||
39 | /** Destructor */ | 39 | /** Destructor */ | ||
40 | ~AutoNavigation(); | 40 | ~AutoNavigation() override; | ||
41 | 41 | | |||
42 | /** | 42 | /** | ||
43 | * An enum type | 43 | * An enum type | ||
44 | * Represents which recentering method is selected | 44 | * Represents which recentering method is selected | ||
45 | */ | 45 | */ | ||
46 | enum CenterMode { | 46 | enum CenterMode { | ||
47 | DontRecenter = 0, | 47 | DontRecenter = 0, | ||
48 | AlwaysRecenter = 1, /**< Enum Value AlwaysRecenter. Recenter always to the map center */ | 48 | AlwaysRecenter = 1, /**< Enum Value AlwaysRecenter. Recenter always to the map center */ | ||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |