QmlProfiler: Namespace fixes

Use own namespace (QmlProfiler) instead of Analyzer.
This commit is contained in:
Kai Koehne
2011-03-25 09:21:00 +01:00
parent 76a5abf602
commit ac61c9a918
10 changed files with 48 additions and 27 deletions

View File

@@ -52,6 +52,9 @@
#define GAP_TIME 150
namespace QmlProfiler {
namespace Internal {
struct Location
{
Location() : line(-1) {}
@@ -131,6 +134,11 @@ private:
bool m_recording;
};
} // namespace Internal
} // namespace QmlProfiler
using namespace QmlProfiler::Internal;
TracePlugin::TracePlugin(QDeclarativeDebugConnection *client)
: QDeclarativeDebugClient(QLatin1String("CanvasFrameRate"), client), m_inProgressRanges(0), m_maximumTime(0), m_recording(false)
{
@@ -252,7 +260,7 @@ TraceWindow::TraceWindow(QWidget *parent)
m_view = new QDeclarativeView(this);
if (Analyzer::Internal::QmlProfilerPlugin::debugOutput) {
if (QmlProfilerPlugin::debugOutput) {
//new QmlJSDebugger::JSDebuggerAgent(m_view->engine());
//new QmlJSDebugger::QDeclarativeViewObserver(m_view, m_view);
}