diff options
Diffstat (limited to 'SampleAppTimeDate/src')
-rw-r--r-- | SampleAppTimeDate/src/main.cpp | 4 | ||||
-rw-r--r-- | SampleAppTimeDate/src/timedateprovider.cpp | 5 | ||||
-rw-r--r-- | SampleAppTimeDate/src/timedateprovider.hpp (renamed from SampleAppTimeDate/src/timedateprovider.h) | 6 |
3 files changed, 7 insertions, 8 deletions
diff --git a/SampleAppTimeDate/src/main.cpp b/SampleAppTimeDate/src/main.cpp index cc10b81..5be8431 100644 --- a/SampleAppTimeDate/src/main.cpp +++ b/SampleAppTimeDate/src/main.cpp @@ -1,5 +1,5 @@ #include <QCoreApplication> -#include "timedateprovider.h" +#include "timedateprovider.hpp" int main(int argc, char *argv[]) { @@ -9,7 +9,7 @@ int main(int argc, char *argv[]) QCoreApplication::setOrganizationDomain("LinuxFoundation"); QCoreApplication::setOrganizationName("AutomotiveGradeLinux"); QCoreApplication::setApplicationName("SampleAppTimeDate"); - QCoreApplication::setApplicationVersion("0.1.1"); + QCoreApplication::setApplicationVersion("0.2.0"); TimeDateProvider *tdp = new TimeDateProvider(); tdp->start(); diff --git a/SampleAppTimeDate/src/timedateprovider.cpp b/SampleAppTimeDate/src/timedateprovider.cpp index 91d5e30..2511432 100644 --- a/SampleAppTimeDate/src/timedateprovider.cpp +++ b/SampleAppTimeDate/src/timedateprovider.cpp @@ -1,4 +1,4 @@ -#include "timedateprovider.h" +#include "timedateprovider.hpp" #include <QTimerEvent> TimeDateProvider::TimeDateProvider(QObject *parent) : @@ -15,7 +15,7 @@ TimeDateProvider::TimeDateProvider(QObject *parent) : dbus.registerService("org.agl.sampleapptimedate"); - qDebug("D-Bus: connect to org.agl.mainwindow /StatusBar"); + qDebug("D-Bus: connect to org.agl.homescreen /StatusBar"); mp_dBusStatusBarProxy = new org::agl::statusbar("org.agl.homescreen", "/StatusBar", QDBusConnection::sessionBus(), @@ -28,7 +28,6 @@ TimeDateProvider::~TimeDateProvider() if (0 != mp_dBusStatusBarProxy) { - qDebug("x"); mp_dBusStatusBarProxy->setStatusText(1, ""); delete mp_dBusStatusBarProxy; } diff --git a/SampleAppTimeDate/src/timedateprovider.h b/SampleAppTimeDate/src/timedateprovider.hpp index 039104a..5ff663f 100644 --- a/SampleAppTimeDate/src/timedateprovider.h +++ b/SampleAppTimeDate/src/timedateprovider.hpp @@ -1,5 +1,5 @@ -#ifndef TIMEDATEPROVIDER_H -#define TIMEDATEPROVIDER_H +#ifndef TIMEDATEPROVIDER_HPP +#define TIMEDATEPROVIDER_HPP #include <QObject> #include "statusbar_proxy.h" @@ -24,4 +24,4 @@ public slots: }; -#endif // TIMEDATEPROVIDER_H +#endif // TIMEDATEPROVIDER_HPP |