Changeset View
Changeset View
Standalone View
Standalone View
kstars/kstarslite.cpp
Context not available. | |||||
23 | #include "ksutils.h" | 23 | #include "ksutils.h" | ||
---|---|---|---|---|---|
24 | #include "Options.h" | 24 | #include "Options.h" | ||
25 | #include "skymaplite.h" | 25 | #include "skymaplite.h" | ||
26 | #include "version.h" | ||||
26 | #include "indi/clientmanagerlite.h" | 27 | #include "indi/clientmanagerlite.h" | ||
27 | #include "kstarslite/imageprovider.h" | 28 | #include "kstarslite/imageprovider.h" | ||
28 | #include "kstarslite/dialogs/finddialoglite.h" | 29 | #include "kstarslite/dialogs/finddialoglite.h" | ||
Context not available. | |||||
103 | m_RootObject = m_Engine.rootObjects()[0]; | 104 | m_RootObject = m_Engine.rootObjects()[0]; | ||
104 | m_clientManager->setIndiControlPage(*m_RootObject->findChild<QObject*>("indiControlPanel")); | 105 | m_clientManager->setIndiControlPage(*m_RootObject->findChild<QObject*>("indiControlPanel")); | ||
105 | 106 | | |||
107 | // Set the About information | ||||
108 | QObject *aboutDialog = m_RootObject->findChild<QObject*>("aboutDialog"); | ||||
109 | | ||||
110 | aboutDialog->setProperty("versionText", i18n("Version: %1", KSTARS_VERSION)); | ||||
111 | aboutDialog->setProperty("buildText", i18n("Build: %1", KSTARS_BUILD_TS)); | ||||
112 | aboutDialog->setProperty("teamText", QString("2001-" + QString::number(QDate::currentDate().year()) + i18n("(c), The KStars Team"))); | ||||
113 | aboutDialog->setProperty("licenseText", i18n("License: GPLv2")); | ||||
114 | | ||||
106 | QQuickItem *skyMapLiteWrapper = m_RootObject->findChild<QQuickItem *>("skyMapLiteWrapper"); | 115 | QQuickItem *skyMapLiteWrapper = m_RootObject->findChild<QQuickItem *>("skyMapLiteWrapper"); | ||
107 | 116 | | |||
108 | m_SkyMapLite->initialize(skyMapLiteWrapper); | 117 | m_SkyMapLite->initialize(skyMapLiteWrapper); | ||
Context not available. |