aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreenSimulator
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-11-22 14:42:05 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2016-11-22 14:42:12 +0900
commitffad9fd5bed339b7ae3bd8086f1c90ce1b6dc69b (patch)
treedd41984b02d002976d94f4237657b2474a1656e5 /HomeScreenSimulator
parentd726a91974d959a5765ab7d3b3c939132febd2e5 (diff)
fix typo
Change-Id: I11b6b535c2587c5e61dfb17c8cb56f2554e06c06 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'HomeScreenSimulator')
-rw-r--r--HomeScreenSimulator/src/mainwindow.cpp8
-rw-r--r--HomeScreenSimulator/src/mainwindow.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/HomeScreenSimulator/src/mainwindow.cpp b/HomeScreenSimulator/src/mainwindow.cpp
index 6c0dc2f..5bb1487 100644
--- a/HomeScreenSimulator/src/mainwindow.cpp
+++ b/HomeScreenSimulator/src/mainwindow.cpp
@@ -20,7 +20,7 @@
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
mp_ui(new Ui::MainWindow),
- mp_dBusDayNightModeAdapter(0),
+ mp_dBusDayNightModeAdaptor(0),
mp_dBusStatusBarProxy(0),
mp_dBusPopupProxy(0),
mp_dBusProximityProxy(0),
@@ -32,7 +32,7 @@ MainWindow::MainWindow(QWidget *parent) :
QDBusConnection dbus = QDBusConnection::sessionBus();
// publish dbus day night mode interface
- mp_dBusDayNightModeAdapter = new DaynightmodeAdaptor((QObject*)this);
+ mp_dBusDayNightModeAdaptor = new DaynightmodeAdaptor((QObject*)this);
dbus.registerService("org.agl.homescreen.simulator");
dbus.registerObject("/", this);
@@ -72,9 +72,9 @@ MainWindow::~MainWindow()
delete mp_dBusPopupProxy;
delete mp_dBusStatusBarProxy;
- if (0 == mp_dBusDayNightModeAdapter)
+ if (0 == mp_dBusDayNightModeAdaptor)
{
- delete mp_dBusDayNightModeAdapter;
+ delete mp_dBusDayNightModeAdaptor;
}
delete mp_ui;
}
diff --git a/HomeScreenSimulator/src/mainwindow.h b/HomeScreenSimulator/src/mainwindow.h
index 3b1855c..cf43002 100644
--- a/HomeScreenSimulator/src/mainwindow.h
+++ b/HomeScreenSimulator/src/mainwindow.h
@@ -19,7 +19,7 @@
#include <QMainWindow>
#include <include/daynightmode.hpp>
-#include "daynightmode_adapter.h"
+#include "daynightmode_adaptor.h"
#include "statusbar_proxy.h"
#include "popup_proxy.h"
@@ -65,7 +65,7 @@ private slots:
private:
Ui::MainWindow *mp_ui;
- DaynightmodeAdaptor *mp_dBusDayNightModeAdapter;
+ DaynightmodeAdaptor *mp_dBusDayNightModeAdaptor;
org::agl::statusbar *mp_dBusStatusBarProxy;
org::agl::popup *mp_dBusPopupProxy;
org::agl::proximity *mp_dBusProximityProxy;