QmlProfiler: Remove separator comments

It's not clear what they're supposed to tell us.

Change-Id: I62f4fb1265396b8d61df0ce6e3409f0eda677170
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-06-30 16:02:12 +02:00
parent a6246537e9
commit 7344c27622
11 changed files with 0 additions and 45 deletions

View File

@@ -127,8 +127,6 @@ void QmlProfilerAnimationsModel::loadData()
updateProgress(1, 1);
}
/////////////////// QML interface
int QmlProfilerAnimationsModel::rowFromThreadId(int threadId) const
{
return (threadId == QmlDebug::GuiThread || m_maxGuiThreadAnimations == 0) ? 1 : 2;

View File

@@ -106,8 +106,6 @@ void QmlProfilerClientManager::setModelManager(QmlProfilerModelManager *m)
connect(this,SIGNAL(dataReadyForProcessing()), d->modelManager, SLOT(complete()));
}
////////////////////////////////////////////////////////////////
// Interface
void QmlProfilerClientManager::setTcpConnection(QString host, quint64 port)
{
d->connectMode = QmlProfilerClientManagerPrivate::TcpConnection;
@@ -132,8 +130,6 @@ void QmlProfilerClientManager::discardPendingData()
clearBufferedData();
}
////////////////////////////////////////////////////////////////
// Internal
void QmlProfilerClientManager::connectClient(quint16 port)
{
if (d->connection)
@@ -323,8 +319,6 @@ void QmlProfilerClientManager::stopClientsRecording()
d->qmlclientplugin.data()->setRecording(false);
}
////////////////////////////////////////////////////////////////
// Profiler State
void QmlProfilerClientManager::registerProfilerStateManager( QmlProfilerStateManager *profilerState )
{
if (d->profilerState) {

View File

@@ -91,9 +91,6 @@ QString getInitialDetails(const QmlProfilerDataModel::QmlEventTypeData &event)
return details;
}
//////////////////////////////////////////////////////////////////////////////
QmlProfilerDataModel::QmlProfilerDataModel(Utils::FileInProjectFinder *fileFinder,
QmlProfilerModelManager *parent)
: QmlProfilerBaseModel(fileFinder, parent, new QmlProfilerDataModelPrivate(this))

View File

@@ -96,8 +96,6 @@ protected:
}
};
/////////////////////////////////////////////////////////////////////////////////
class QmlProfilerDetailsRewriter::QmlProfilerDetailsRewriterPrivate
{
public:

View File

@@ -273,8 +273,6 @@ void QmlProfilerRunControl::runControlFinished()
emit finished();
}
////////////////////////////////////////////////////////////////
// Profiler State
void QmlProfilerRunControl::registerProfilerStateManager( QmlProfilerStateManager *profilerState )
{
// disconnect old

View File

@@ -289,7 +289,6 @@ int QmlProfilerEventsModelProxy::count() const
return d->data.count();
}
//////////////////////////////////////////////////////////////////////////////////
QmlProfilerEventRelativesModelProxy::QmlProfilerEventRelativesModelProxy(QmlProfilerModelManager *modelManager,
QmlProfilerEventsModelProxy *eventsModel,
QObject *parent)
@@ -343,8 +342,6 @@ void QmlProfilerEventRelativesModelProxy::dataChanged()
emit dataAvailable();
}
//////////////////////////////////////////////////////////////////////////////////
QmlProfilerEventParentsModelProxy::QmlProfilerEventParentsModelProxy(QmlProfilerModelManager *modelManager,
QmlProfilerEventsModelProxy *eventsModel,
QObject *parent)
@@ -409,7 +406,6 @@ void QmlProfilerEventParentsModelProxy::loadData()
}
}
//////////////////////////////////////////////////////////////////////////////////
QmlProfilerEventChildrenModelProxy::QmlProfilerEventChildrenModelProxy(QmlProfilerModelManager *modelManager,
QmlProfilerEventsModelProxy *eventsModel,
QObject *parent)

View File

@@ -79,11 +79,6 @@ struct RootEventType : public QmlProfilerDataModel::QmlEventTypeData {
Q_GLOBAL_STATIC(Colors, colors)
Q_GLOBAL_STATIC(RootEventType, rootEventType)
////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
class EventsViewItem : public QStandardItem
{
public:
@@ -113,8 +108,6 @@ public:
}
};
////////////////////////////////////////////////////////////////////////////////////
class QmlProfilerEventsWidget::QmlProfilerEventsWidgetPrivate
{
public:
@@ -363,8 +356,6 @@ bool QmlProfilerEventsWidget::showQml() const
d->modelProxy->eventTypeAccepted(Creating);
}
////////////////////////////////////////////////////////////////////////////////////
class QmlProfilerEventsMainView::QmlProfilerEventsMainViewPrivate
{
public:
@@ -386,9 +377,6 @@ public:
bool m_preventSelectBounce;
};
////////////////////////////////////////////////////////////////////////////////////
QmlProfilerEventsMainView::QmlProfilerEventsMainView(QWidget *parent,
QmlProfilerEventsModelProxy *modelProxy)
: QmlProfilerTreeView(parent), d(new QmlProfilerEventsMainViewPrivate(this))
@@ -861,8 +849,6 @@ void QmlProfilerEventsMainView::copyRowToClipboard() const
clipboard->setText(str, QClipboard::Clipboard);
}
////////////////////////////////////////////////////////////////////////////////////
class QmlProfilerEventRelativesView::QmlProfilerEventParentsViewPrivate
{
public:

View File

@@ -59,7 +59,6 @@ static const char *ProfileFeatureNames[QmlDebug::MaximumProfileFeature] = {
QT_TRANSLATE_NOOP("MainView", "Input Events")
};
/////////////////////////////////////////////////////////////////////
QmlProfilerDataState::QmlProfilerDataState(QmlProfilerModelManager *modelManager, QObject *parent)
: QObject(parent), m_state(Empty), m_modelManager(modelManager)
{

View File

@@ -186,8 +186,6 @@ void QmlProfilerRangeModel::findBindingLoops()
}
/////////////////// QML interface
QString QmlProfilerRangeModel::categoryLabel(QmlDebug::RangeType rangeType)
{
return QCoreApplication::translate("MainView",

View File

@@ -71,7 +71,6 @@ using namespace QmlDebug;
namespace QmlProfiler {
namespace Internal {
/////////////////////////////////////////////////////////
class QmlProfilerTraceView::QmlProfilerTraceViewPrivate
{
public:
@@ -164,7 +163,6 @@ QmlProfilerTraceView::~QmlProfilerTraceView()
delete d;
}
/////////////////////////////////////////////////////////
bool QmlProfilerTraceView::hasValidSelection() const
{
QQuickItem *rootObject = d->m_mainView->rootObject();
@@ -227,7 +225,6 @@ void QmlProfilerTraceView::selectByEventIndex(int modelId, int eventIndex)
Q_ARG(QVariant, QVariant(eventIndex)));
}
/////////////////////////////////////////////////////////
// Goto source location
void QmlProfilerTraceView::updateCursorPosition()
{
@@ -252,8 +249,6 @@ void QmlProfilerTraceView::mouseReleaseEvent(QMouseEvent *event)
QWidget::mouseReleaseEvent(event);
}
////////////////////////////////////////////////////////////////
// Context menu
void QmlProfilerTraceView::contextMenuEvent(QContextMenuEvent *ev)
{
showContextMenu(ev->globalPos());
@@ -301,8 +296,6 @@ void QmlProfilerTraceView::showContextMenu(QPoint position)
}
}
////////////////////////////////////////////////////////////////
void QmlProfilerTraceView::changeEvent(QEvent *e)
{
if (e->type() == QEvent::EnabledChange) {

View File

@@ -80,8 +80,6 @@ QmlProfilerViewManager::~QmlProfilerViewManager()
delete d;
}
////////////////////////////////////////////////////////////
// Views
void QmlProfilerViewManager::createViews()
{