summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--HomeScreen/src/applauncherwidget.cpp4
-rw-r--r--HomeScreen/src/controlbarwidget.cpp8
-rw-r--r--HomeScreen/src/homescreencontrolinterface.cpp8
-rw-r--r--HomeScreen/src/layouthandler.cpp2
-rw-r--r--HomeScreen/src/popupwidget.cpp2
5 files changed, 12 insertions, 12 deletions
diff --git a/HomeScreen/src/applauncherwidget.cpp b/HomeScreen/src/applauncherwidget.cpp
index d8b0bf1..26b80a0 100644
--- a/HomeScreen/src/applauncherwidget.cpp
+++ b/HomeScreen/src/applauncherwidget.cpp
@@ -141,8 +141,8 @@ void AppLauncherWidget::on_tableView_clicked(int row, int col)
qDebug("pid: %d", pid);
// the new app wants to be visible by default
- newRequestsToBeVisibleApp(pid);
+ emit newRequestsToBeVisibleApp(pid);
- showAppLayer();
+ emit showAppLayer();
}
}
diff --git a/HomeScreen/src/controlbarwidget.cpp b/HomeScreen/src/controlbarwidget.cpp
index bc78004..0f4aca7 100644
--- a/HomeScreen/src/controlbarwidget.cpp
+++ b/HomeScreen/src/controlbarwidget.cpp
@@ -69,14 +69,14 @@ void ControlBarWidget::updateColorScheme()
void ControlBarWidget::on_pushButton_home_clicked()
{
- hideAppLayer();
- homeButtonPressed();
+ emit hideAppLayer();
+ emit homeButtonPressed();
}
void ControlBarWidget::on_pushButton_settings_clicked()
{
- hideAppLayer();
- settingsButtonPressed();
+ emit hideAppLayer();
+ emit settingsButtonPressed();
}
void ControlBarWidget::on_pushButton_nav_clicked()
diff --git a/HomeScreen/src/homescreencontrolinterface.cpp b/HomeScreen/src/homescreencontrolinterface.cpp
index 1977957..3580556 100644
--- a/HomeScreen/src/homescreencontrolinterface.cpp
+++ b/HomeScreen/src/homescreencontrolinterface.cpp
@@ -46,13 +46,13 @@ void HomeScreenControlInterface::hardKeyPressed(int key)
qDebug("hardKeyPressed NAV key pressed!");
pid = mp_dBusAppFrameworkProxy->launchApp("nav@0.1");
qDebug("pid: %d", pid);
- newRequestsToBeVisibleApp(pid);
+ emit newRequestsToBeVisibleApp(pid);
break;
case InputEvent::HARDKEY_MEDIA:
qDebug("hardKeyPressed MEDIA key pressed!");
pid = mp_dBusAppFrameworkProxy->launchApp("media@0.1");
qDebug("pid: %d", pid);
- newRequestsToBeVisibleApp(pid);
+ emit newRequestsToBeVisibleApp(pid);
break;
default:
qDebug("hardKeyPressed %d", key);
@@ -63,7 +63,7 @@ void HomeScreenControlInterface::hardKeyPressed(int key)
void HomeScreenControlInterface::renderSurfaceToArea(int surfaceId, int layoutArea)
{
qDebug("renderSurfaceToArea %d %d", surfaceId, layoutArea);
- newRequestRenderSurfaceToArea(surfaceId, layoutArea);
+ emit newRequestRenderSurfaceToArea(surfaceId, layoutArea);
}
bool HomeScreenControlInterface::renderAppToAreaAllowed(int appCategory, int layoutArea)
@@ -75,5 +75,5 @@ bool HomeScreenControlInterface::renderAppToAreaAllowed(int appCategory, int lay
void HomeScreenControlInterface::requestSurfaceIdToFullScreen(int surfaceId)
{
qDebug("requestSurfaceIdToFullScreen %d", surfaceId);
- newRequestSurfaceIdToFullScreen(surfaceId);
+ emit newRequestSurfaceIdToFullScreen(surfaceId);
}
diff --git a/HomeScreen/src/layouthandler.cpp b/HomeScreen/src/layouthandler.cpp
index b2bfd17..5109536 100644
--- a/HomeScreen/src/layouthandler.cpp
+++ b/HomeScreen/src/layouthandler.cpp
@@ -277,7 +277,7 @@ void LayoutHandler::setLayoutByName(QString layoutName)
void LayoutHandler::requestSurfaceVisibilityChanged(int surfaceId, bool visible)
{
qDebug("requestSurfaceVisibilityChanged %d %s", surfaceId, visible ? "true" : "false");
- surfaceVisibilityChanged(surfaceId, visible);
+ emit surfaceVisibilityChanged(surfaceId, visible);
}
void LayoutHandler::timerEvent(QTimerEvent *e)
diff --git a/HomeScreen/src/popupwidget.cpp b/HomeScreen/src/popupwidget.cpp
index 6f7d9cb..6cf00b1 100644
--- a/HomeScreen/src/popupwidget.cpp
+++ b/HomeScreen/src/popupwidget.cpp
@@ -85,7 +85,7 @@ void PopupWidget::on_pushButton_OK_clicked()
{
if (m_sendComboBoxChoice)
{
- comboBoxResult(mp_ui->comboBox_choice->currentText());
+ emit comboBoxResult(mp_ui->comboBox_choice->currentText());
m_sendComboBoxChoice = false;
}
this->close();