forked from qt-creator/qt-creator
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:
@@ -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)
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user