QmlProfiler: Remove OST connection mode

Whatever that is, it definitely didn't work.

Change-Id: Ib15b9dcad6e22d52285a253b234989e55d817268
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-09-10 14:53:39 +02:00
parent c87d3e3f4e
commit 408ac55741
2 changed files with 0 additions and 14 deletions

View File

@@ -59,13 +59,8 @@ public:
QTimer connectionTimer; QTimer connectionTimer;
int connectionAttempts; int connectionAttempts;
enum ConnectMode {
TcpConnection, OstConnection
};
ConnectMode connectMode;
QString tcpHost; QString tcpHost;
quint64 tcpPort; quint64 tcpPort;
QString ostDevice;
QString sysroot; QString sysroot;
quint32 flushInterval; quint32 flushInterval;
@@ -115,17 +110,10 @@ void QmlProfilerClientManager::setFlushInterval(quint32 flushInterval)
void QmlProfilerClientManager::setTcpConnection(QString host, quint64 port) void QmlProfilerClientManager::setTcpConnection(QString host, quint64 port)
{ {
d->connectMode = QmlProfilerClientManagerPrivate::TcpConnection;
d->tcpHost = host; d->tcpHost = host;
d->tcpPort = port; d->tcpPort = port;
} }
void QmlProfilerClientManager::setOstConnection(QString ostDevice)
{
d->connectMode = QmlProfilerClientManagerPrivate::OstConnection;
d->ostDevice = ostDevice;
}
void QmlProfilerClientManager::clearBufferedData() void QmlProfilerClientManager::clearBufferedData()
{ {
if (d->qmlclientplugin) if (d->qmlclientplugin)

View File

@@ -50,9 +50,7 @@ public:
~QmlProfilerClientManager(); ~QmlProfilerClientManager();
void registerProfilerStateManager(QmlProfilerStateManager *profilerState); void registerProfilerStateManager(QmlProfilerStateManager *profilerState);
void setTcpConnection(QString host, quint64 port); void setTcpConnection(QString host, quint64 port);
void setOstConnection(QString ostDevice);
void clearBufferedData(); void clearBufferedData();
void discardPendingData(); void discardPendingData();