diff options
-rw-r--r-- | plugins/qmlprofilerextended/qmlprofilerextended.pro | 23 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/QmlProfilerExtension.pluginspec.in (renamed from plugins/qmlprofilerextended/QmlProfilerExtended.pluginspec.in) | 4 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/pixmapcachemodel.cpp (renamed from plugins/qmlprofilerextended/pixmapcachemodel.cpp) | 4 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/pixmapcachemodel.h (renamed from plugins/qmlprofilerextended/pixmapcachemodel.h) | 4 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/qmlprofilerextension.pro | 23 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/qmlprofilerextension_dependencies.pri (renamed from plugins/qmlprofilerextended/qmlprofilerextended_dependencies.pri) | 2 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/qmlprofilerextension_global.h (renamed from plugins/qmlprofilerextended/qmlprofilerextended_global.h) | 12 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/qmlprofilerextensionconstants.h (renamed from plugins/qmlprofilerextended/qmlprofilerextendedconstants.h) | 14 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/qmlprofilerextensionplugin.cpp (renamed from plugins/qmlprofilerextended/qmlprofilerextendedplugin.cpp) | 22 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/qmlprofilerextensionplugin.h (renamed from plugins/qmlprofilerextended/qmlprofilerextendedplugin.h) | 20 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp (renamed from plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp) | 4 | ||||
-rw-r--r-- | plugins/qmlprofilerextension/scenegraphtimelinemodel.h (renamed from plugins/qmlprofilerextended/scenegraphtimelinemodel.h) | 4 | ||||
-rw-r--r-- | qmlprofiler.pro | 2 |
13 files changed, 69 insertions, 69 deletions
diff --git a/plugins/qmlprofilerextended/qmlprofilerextended.pro b/plugins/qmlprofilerextended/qmlprofilerextended.pro deleted file mode 100644 index 5f8ffc2474d..00000000000 --- a/plugins/qmlprofilerextended/qmlprofilerextended.pro +++ /dev/null @@ -1,23 +0,0 @@ -TARGET = QmlProfilerExtended -TEMPLATE = lib - -PROVIDER = Digia -include(../../qtcreatorplugin.pri) -include(qmlprofilerextended_dependencies.pri) - -DEFINES += QMLPROFILEREXTENDED_LIBRARY - -# QmlProfilerExtended files - -SOURCES += qmlprofilerextendedplugin.cpp \ - scenegraphtimelinemodel.cpp \ - pixmapcachemodel.cpp - -HEADERS += qmlprofilerextendedplugin.h \ - qmlprofilerextended_global.h \ - qmlprofilerextendedconstants.h \ - scenegraphtimelinemodel.h \ - pixmapcachemodel.h - -OTHER_FILES += \ - QmlProfilerExtended.json diff --git a/plugins/qmlprofilerextended/QmlProfilerExtended.pluginspec.in b/plugins/qmlprofilerextension/QmlProfilerExtension.pluginspec.in index f551aa6abd0..59b9a804a6d 100644 --- a/plugins/qmlprofilerextended/QmlProfilerExtended.pluginspec.in +++ b/plugins/qmlprofilerextension/QmlProfilerExtension.pluginspec.in @@ -1,4 +1,4 @@ -<plugin name=\"QmlProfilerExtended\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\"> +<plugin name=\"QmlProfilerExtension\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_VERSION\"> <vendor>Digia Plc</vendor> <copyright>(C) 2013 Digia Plc</copyright> <license> @@ -7,7 +7,7 @@ Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Digia. </license> <category>Qt Quick</category> - <description>Qml Profiler Extended Plugin</description> + <description>Qml Profiler Extension Plugin</description> <url>http://www.qt-project.org</url> $$dependencyList </plugin> diff --git a/plugins/qmlprofilerextended/pixmapcachemodel.cpp b/plugins/qmlprofilerextension/pixmapcachemodel.cpp index 7ececbcb2cb..496ad948844 100644 --- a/plugins/qmlprofilerextended/pixmapcachemodel.cpp +++ b/plugins/qmlprofilerextension/pixmapcachemodel.cpp @@ -22,7 +22,7 @@ #include <QDebug> -namespace QmlProfilerExtended { +namespace QmlProfilerExtension { namespace Internal { using namespace QmlProfiler::Internal; @@ -539,4 +539,4 @@ void PixmapCacheModel::PixmapCacheModelPrivate::computeRowCounts() } // namespace Internal -} // namespace QmlProfilerExtended +} // namespace QmlProfilerExtension diff --git a/plugins/qmlprofilerextended/pixmapcachemodel.h b/plugins/qmlprofilerextension/pixmapcachemodel.h index 5e32cc4682d..bdb43d89f84 100644 --- a/plugins/qmlprofilerextended/pixmapcachemodel.h +++ b/plugins/qmlprofilerextension/pixmapcachemodel.h @@ -26,7 +26,7 @@ #include <QStringList> #include <QColor> -namespace QmlProfilerExtended { +namespace QmlProfilerExtension { namespace Internal { class PixmapCacheModel : public QmlProfiler::AbstractTimelineModel @@ -116,6 +116,6 @@ private: }; } // namespace Internal -} // namespace QmlProfilerExtended +} // namespace QmlProfilerExtension #endif // PIXMAPCACHEMODEL_H diff --git a/plugins/qmlprofilerextension/qmlprofilerextension.pro b/plugins/qmlprofilerextension/qmlprofilerextension.pro new file mode 100644 index 00000000000..e1282d0ace4 --- /dev/null +++ b/plugins/qmlprofilerextension/qmlprofilerextension.pro @@ -0,0 +1,23 @@ +TARGET = QmlProfilerExtension +TEMPLATE = lib + +PROVIDER = Digia +include(../../qtcreatorplugin.pri) +include(qmlprofilerextension_dependencies.pri) + +DEFINES += QMLPROFILEREXTENSION_LIBRARY + +# QmlProfilerExtension files + +SOURCES += qmlprofilerextensionplugin.cpp \ + scenegraphtimelinemodel.cpp \ + pixmapcachemodel.cpp + +HEADERS += qmlprofilerextensionplugin.h \ + qmlprofilerextension_global.h \ + qmlprofilerextensionconstants.h \ + scenegraphtimelinemodel.h \ + pixmapcachemodel.h + +OTHER_FILES += \ + QmlProfilerExtension.json diff --git a/plugins/qmlprofilerextended/qmlprofilerextended_dependencies.pri b/plugins/qmlprofilerextension/qmlprofilerextension_dependencies.pri index 67675535df5..43ab5d1dacc 100644 --- a/plugins/qmlprofilerextended/qmlprofilerextended_dependencies.pri +++ b/plugins/qmlprofilerextension/qmlprofilerextension_dependencies.pri @@ -1,4 +1,4 @@ -QTC_PLUGIN_NAME = QmlProfilerExtended +QTC_PLUGIN_NAME = QmlProfilerExtension #QTC_LIB_DEPENDS += \ # qmldebug \ # extensionsystem diff --git a/plugins/qmlprofilerextended/qmlprofilerextended_global.h b/plugins/qmlprofilerextension/qmlprofilerextension_global.h index 103989ef870..74b9e7b675b 100644 --- a/plugins/qmlprofilerextended/qmlprofilerextended_global.h +++ b/plugins/qmlprofilerextension/qmlprofilerextension_global.h @@ -16,16 +16,16 @@ ** ****************************************************************************/ -#ifndef QMLPROFILEREXTENDED_GLOBAL_H -#define QMLPROFILEREXTENDED_GLOBAL_H +#ifndef QMLPROFILEREXTENSION_GLOBAL_H +#define QMLPROFILEREXTENSION_GLOBAL_H #include <QtGlobal> -#if defined(QMLPROFILEREXTENDED_LIBRARY) -# define QMLPROFILEREXTENDEDSHARED_EXPORT Q_DECL_EXPORT +#if defined(QMLPROFILEREXTENSION_LIBRARY) +# define QMLPROFILEREXTENSIONSHARED_EXPORT Q_DECL_EXPORT #else -# define QMLPROFILEREXTENDEDSHARED_EXPORT Q_DECL_IMPORT +# define QMLPROFILEREXTENSIONSHARED_EXPORT Q_DECL_IMPORT #endif -#endif // QMLPROFILEREXTENDED_GLOBAL_H +#endif // QMLPROFILEREXTENSION_GLOBAL_H diff --git a/plugins/qmlprofilerextended/qmlprofilerextendedconstants.h b/plugins/qmlprofilerextension/qmlprofilerextensionconstants.h index fe275b94f26..866c28cccab 100644 --- a/plugins/qmlprofilerextended/qmlprofilerextendedconstants.h +++ b/plugins/qmlprofilerextension/qmlprofilerextensionconstants.h @@ -16,17 +16,17 @@ ** ****************************************************************************/ -#ifndef QMLPROFILEREXTENDEDCONSTANTS_H -#define QMLPROFILEREXTENDEDCONSTANTS_H +#ifndef QMLPROFILEREXTENSIONCONSTANTS_H +#define QMLPROFILEREXTENSIONCONSTANTS_H -namespace QmlProfilerExtended { +namespace QmlProfilerExtension { namespace Constants { -const char ACTION_ID[] = "QmlProfilerExtended.Action"; -const char MENU_ID[] = "QmlProfilerExtended.Menu"; +const char ACTION_ID[] = "QmlProfilerExtension.Action"; +const char MENU_ID[] = "QmlProfilerExtension.Menu"; -} // namespace QmlProfilerExtended +} // namespace QmlProfilerExtension } // namespace Constants -#endif // QMLPROFILEREXTENDEDCONSTANTS_H +#endif // QMLPROFILEREXTENSIONCONSTANTS_H diff --git a/plugins/qmlprofilerextended/qmlprofilerextendedplugin.cpp b/plugins/qmlprofilerextension/qmlprofilerextensionplugin.cpp index 02264f90ec0..45ca48bc2ef 100644 --- a/plugins/qmlprofilerextended/qmlprofilerextendedplugin.cpp +++ b/plugins/qmlprofilerextension/qmlprofilerextensionplugin.cpp @@ -16,8 +16,8 @@ ** ****************************************************************************/ -#include "qmlprofilerextendedplugin.h" -#include "qmlprofilerextendedconstants.h" +#include "qmlprofilerextensionplugin.h" +#include "qmlprofilerextensionconstants.h" #include <coreplugin/icore.h> #include <coreplugin/icontext.h> @@ -36,20 +36,20 @@ #include "scenegraphtimelinemodel.h" #include "pixmapcachemodel.h" -using namespace QmlProfilerExtended::Internal; +using namespace QmlProfilerExtension::Internal; -QmlProfilerExtendedPlugin::QmlProfilerExtendedPlugin() +QmlProfilerExtensionPlugin::QmlProfilerExtensionPlugin() { // Create your members } -QmlProfilerExtendedPlugin::~QmlProfilerExtendedPlugin() +QmlProfilerExtensionPlugin::~QmlProfilerExtensionPlugin() { // Unregister objects from the plugin manager's object pool // Delete members } -bool QmlProfilerExtendedPlugin::initialize(const QStringList &arguments, QString *errorString) +bool QmlProfilerExtensionPlugin::initialize(const QStringList &arguments, QString *errorString) { // Register objects in the plugin manager's object pool // Load settings @@ -67,14 +67,14 @@ bool QmlProfilerExtendedPlugin::initialize(const QStringList &arguments, QString return true; } -void QmlProfilerExtendedPlugin::extensionsInitialized() +void QmlProfilerExtensionPlugin::extensionsInitialized() { // Retrieve objects from the plugin manager's object pool // In the extensionsInitialized method, a plugin can be sure that all // plugins that depend on it are completely initialized. } -ExtensionSystem::IPlugin::ShutdownFlag QmlProfilerExtendedPlugin::aboutToShutdown() +ExtensionSystem::IPlugin::ShutdownFlag QmlProfilerExtensionPlugin::aboutToShutdown() { // Save settings // Disconnect from signals that are not needed during shutdown @@ -82,12 +82,12 @@ ExtensionSystem::IPlugin::ShutdownFlag QmlProfilerExtendedPlugin::aboutToShutdow return SynchronousShutdown; } -void QmlProfilerExtendedPlugin::triggerAction() +void QmlProfilerExtensionPlugin::triggerAction() { QMessageBox::information(Core::ICore::mainWindow(), tr("Action triggered"), - tr("This is an action from QmlProfilerExtended.")); + tr("This is an action from QmlProfilerExtension.")); } -Q_EXPORT_PLUGIN2(QmlProfilerExtended, QmlProfilerExtendedPlugin) +Q_EXPORT_PLUGIN2(QmlProfilerExtension, QmlProfilerExtensionPlugin) diff --git a/plugins/qmlprofilerextended/qmlprofilerextendedplugin.h b/plugins/qmlprofilerextension/qmlprofilerextensionplugin.h index 083bc5fcef6..3da05a9f75e 100644 --- a/plugins/qmlprofilerextended/qmlprofilerextendedplugin.h +++ b/plugins/qmlprofilerextension/qmlprofilerextensionplugin.h @@ -16,24 +16,24 @@ ** ****************************************************************************/ -#ifndef QMLPROFILEREXTENDED_H -#define QMLPROFILEREXTENDED_H +#ifndef QMLPROFILEREXTENSION_H +#define QMLPROFILEREXTENSION_H -#include "qmlprofilerextended_global.h" +#include "qmlprofilerextension_global.h" #include <extensionsystem/iplugin.h> -namespace QmlProfilerExtended { +namespace QmlProfilerExtension { namespace Internal { -class QmlProfilerExtendedPlugin : public ExtensionSystem::IPlugin +class QmlProfilerExtensionPlugin : public ExtensionSystem::IPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProfilerExtended.json") + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProfilerExtension.json") public: - QmlProfilerExtendedPlugin(); - ~QmlProfilerExtendedPlugin(); + QmlProfilerExtensionPlugin(); + ~QmlProfilerExtensionPlugin(); bool initialize(const QStringList &arguments, QString *errorString); void extensionsInitialized(); @@ -44,7 +44,7 @@ private slots: }; } // namespace Internal -} // namespace QmlProfilerExtended +} // namespace QmlProfilerExtension -#endif // QMLPROFILEREXTENDED_H +#endif // QMLPROFILEREXTENSION_H diff --git a/plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp b/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp index fe44258e2ae..3bf3416c2bd 100644 --- a/plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp +++ b/plugins/qmlprofilerextension/scenegraphtimelinemodel.cpp @@ -23,7 +23,7 @@ #include <QCoreApplication> #include <QDebug> -namespace QmlProfilerExtended { +namespace QmlProfilerExtension { namespace Internal { using namespace QmlProfiler::Internal; @@ -472,4 +472,4 @@ void SceneGraphTimelineModel::dataChanged() } // namespace Internal -} // namespace QmlProfilerExtended +} // namespace QmlProfilerExtension diff --git a/plugins/qmlprofilerextended/scenegraphtimelinemodel.h b/plugins/qmlprofilerextension/scenegraphtimelinemodel.h index 58665d3e54b..edad9ec0d34 100644 --- a/plugins/qmlprofilerextended/scenegraphtimelinemodel.h +++ b/plugins/qmlprofilerextension/scenegraphtimelinemodel.h @@ -26,7 +26,7 @@ #include <QStringList> #include <QColor> -namespace QmlProfilerExtended { +namespace QmlProfilerExtension { namespace Internal { #define timingFieldCount 16 @@ -104,6 +104,6 @@ private: }; } // namespace Internal -} // namespace QmlProfilerExtended +} // namespace QmlProfilerExtension #endif // SCENEGRAPHTIMELINEMODEL_H diff --git a/qmlprofiler.pro b/qmlprofiler.pro index 70c98b4a86c..fe59b23f42d 100644 --- a/qmlprofiler.pro +++ b/qmlprofiler.pro @@ -3,6 +3,6 @@ CONFIG += ordered SUBDIRS += libs/qmldebug \ plugins/qmlprofiler \ - plugins/qmlprofilerextended + plugins/qmlprofilerextension QMAKE_EXTRA_TARGETS = docs install_docs # dummy targets for consistency |