From 999265105bd30b7b30e6688fec35b1448eb276be Mon Sep 17 00:00:00 2001
From: Christian Kandeler <christian.kandeler@nokia.com>
Date: Wed, 3 Aug 2011 11:21:34 +0200
Subject: [PATCH] RemoteLinux: Use full namespace for signal/slot parameter.

Change-Id: I4cd5fb4084b2ba4872ca984c0adf3209feeebb89
Reviewed-on: http://codereview.qt.nokia.com/2551
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
---
 src/plugins/remotelinux/maemodeploybymountsteps.cpp | 6 +++---
 src/plugins/remotelinux/maemoremotecopyfacility.h   | 2 +-
 src/plugins/remotelinux/remotelinuxplugin.cpp       | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/plugins/remotelinux/maemodeploybymountsteps.cpp b/src/plugins/remotelinux/maemodeploybymountsteps.cpp
index 342ed2e4962..f51d8a77fce 100644
--- a/src/plugins/remotelinux/maemodeploybymountsteps.cpp
+++ b/src/plugins/remotelinux/maemodeploybymountsteps.cpp
@@ -131,7 +131,7 @@ private:
     void cancelInstallation();
     void handleInstallationSuccess();
 
-    Q_SLOT void handleFileCopied(const DeployableFile &deployable);
+    Q_SLOT void handleFileCopied(const RemoteLinux::DeployableFile &deployable);
 
     MaemoRemoteCopyFacility * const m_copyFacility;
     mutable QList<DeployableFile> m_filesToCopy;
@@ -329,8 +329,8 @@ MaemoMountAndCopyFilesService::MaemoMountAndCopyFilesService(QObject *parent)
     connect(m_copyFacility, SIGNAL(stdoutData(QString)), SIGNAL(stdOutData(QString)));
     connect(m_copyFacility, SIGNAL(stderrData(QString)), SIGNAL(stdErrData(QString)));
     connect(m_copyFacility, SIGNAL(progress(QString)), SIGNAL(progressMessage(QString)));
-    connect(m_copyFacility, SIGNAL(fileCopied(DeployableFile)),
-        SLOT(handleFileCopied(DeployableFile)));
+    connect(m_copyFacility, SIGNAL(fileCopied(RemoteLinux::DeployableFile)),
+        SLOT(handleFileCopied(RemoteLinux::DeployableFile)));
     connect(m_copyFacility, SIGNAL(finished(QString)), SLOT(handleInstallationFinished(QString)));
 }
 
diff --git a/src/plugins/remotelinux/maemoremotecopyfacility.h b/src/plugins/remotelinux/maemoremotecopyfacility.h
index fb8d5b9c3f5..58e484a6f69 100644
--- a/src/plugins/remotelinux/maemoremotecopyfacility.h
+++ b/src/plugins/remotelinux/maemoremotecopyfacility.h
@@ -66,7 +66,7 @@ signals:
     void stdoutData(const QString &output);
     void stderrData(const QString &output);
     void progress(const QString &message);
-    void fileCopied(const DeployableFile &deployable);
+    void fileCopied(const RemoteLinux::DeployableFile &deployable);
     void finished(const QString &errorMsg = QString());
 
 private slots:
diff --git a/src/plugins/remotelinux/remotelinuxplugin.cpp b/src/plugins/remotelinux/remotelinuxplugin.cpp
index e56c7c87e21..a1fb3ca57cc 100644
--- a/src/plugins/remotelinux/remotelinuxplugin.cpp
+++ b/src/plugins/remotelinux/remotelinuxplugin.cpp
@@ -94,7 +94,7 @@ bool RemoteLinuxPlugin::initialize(const QStringList &arguments,
     addAutoReleasedObject(new RemoteLinuxDeployConfigurationFactory);
     addAutoReleasedObject(new GenericRemoteLinuxDeployStepFactory);
 
-    qRegisterMetaType<DeployableFile>("DeployableFile");
+    qRegisterMetaType<RemoteLinux::DeployableFile>("RemoteLinux::DeployableFile");
 
     return true;
 }
-- 
GitLab