diff --git a/src/plugins/debugger/gdb/codagdbadapter.cpp b/src/plugins/debugger/gdb/codagdbadapter.cpp
index 9eb53c934a2..ed32b6e4a9e 100644
--- a/src/plugins/debugger/gdb/codagdbadapter.cpp
+++ b/src/plugins/debugger/gdb/codagdbadapter.cpp
@@ -1043,7 +1043,7 @@ void CodaGdbAdapter::startAdapter()
m_codaSocketIODevice = codaSocket;
} else {
m_codaDevice = SymbianUtils::SymbianDeviceManager::instance()
- ->getTcfPort(parameters.remoteChannel);
+ ->getCodaDevice(parameters.remoteChannel);
bool ok = m_codaDevice && m_codaDevice->device()->isOpen();
if (!ok) {
@@ -1233,7 +1233,7 @@ void CodaGdbAdapter::cleanup()
// Ensure process is stopped after being suspended.
sendRunControlTerminateCommand();
disconnect(m_codaDevice.data(), 0, this, 0);
- SymbianUtils::SymbianDeviceManager::instance()->releaseTcfPort(m_codaDevice);
+ SymbianUtils::SymbianDeviceManager::instance()->releaseCodaDevice(m_codaDevice);
}
}
diff --git a/src/plugins/qt4projectmanager/qt-s60/codaruncontrol.cpp b/src/plugins/qt4projectmanager/qt-s60/codaruncontrol.cpp
index 3dd0474289f..00f57c365bd 100644
--- a/src/plugins/qt4projectmanager/qt-s60/codaruncontrol.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/codaruncontrol.cpp
@@ -117,7 +117,7 @@ bool CodaRunControl::setupLauncher()
if (m_serialPort.length()) {
// We get the port from SymbianDeviceManager
appendMessage(tr("Connecting to '%1'...").arg(m_serialPort), NormalMessageFormat);
- m_codaDevice = SymbianUtils::SymbianDeviceManager::instance()->getTcfPort(m_serialPort);
+ m_codaDevice = SymbianUtils::SymbianDeviceManager::instance()->getCodaDevice(m_serialPort);
bool ok = m_codaDevice && m_codaDevice->device()->isOpen();
if (!ok) {
@@ -333,7 +333,7 @@ void CodaRunControl::finishRunControl()
m_runningProcessId.clear();
if (m_codaDevice) {
disconnect(m_codaDevice.data(), 0, this, 0);
- SymbianUtils::SymbianDeviceManager::instance()->releaseTcfPort(m_codaDevice);
+ SymbianUtils::SymbianDeviceManager::instance()->releaseCodaDevice(m_codaDevice);
}
m_state = StateUninit;
emit finished();
@@ -344,7 +344,7 @@ QMessageBox *CodaRunControl::createCodaWaitingMessageBox(QWidget *parent)
const QString title = tr("Waiting for CODA");
const QString text = tr("Qt Creator is waiting for the CODA application to connect.
"
"Please make sure the application is running on "
- "your mobile phone and the right IP address and port are "
+ "your mobile phone and the right IP address and/or port are "
"configured in the project settings.");
QMessageBox *mb = new QMessageBox(QMessageBox::Information, title, text, QMessageBox::Cancel, parent);
return mb;
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60deployconfigurationwidget.cpp b/src/plugins/qt4projectmanager/qt-s60/s60deployconfigurationwidget.cpp
index 7fd63accec7..bccf9cdd9f4 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60deployconfigurationwidget.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60deployconfigurationwidget.cpp
@@ -41,6 +41,7 @@
#include
#include
#include
+#include
#include "trkruncontrol.h"
@@ -74,6 +75,8 @@ namespace Internal {
const char STARTING_DRIVE_LETTER = 'C';
const char LAST_DRIVE_LETTER = 'Z';
+static const quint32 CODA_UID = 0x20021f96;
+
QString formatDriveText(const S60DeployConfiguration::DeviceDrive &drive)
{
char driveLetter = QChar::toUpper(static_cast(drive.first));
@@ -84,6 +87,39 @@ QString formatDriveText(const S60DeployConfiguration::DeviceDrive &drive)
return QString("%1:%2 kB").arg(driveLetter).arg(drive.second);
}
+void startTable(QString &text)
+{
+ const char startTableC[] = "";
+ if (text.contains(startTableC))
+ return;
+ text.append(startTableC);
+}
+
+void finishTable(QString &text)
+{
+ const char stopTableC[] = "