summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2009-05-08 16:11:49 +0200
committerAlessandro Portale <alessandro.portale@nokia.com>2009-05-08 16:43:26 +0200
commitd971065b36babe1ffc6f621c416891ac9f4c44d3 (patch)
treeb6ca7c51312f6bea2eeb9fa3350e25dfad88a2fd
parent0ffc9ab76aaaf8568aa9a2cab6b0a3d5007e5113 (diff)
downloadqt-creator-d971065b36babe1ffc6f621c416891ac9f4c44d3.tar.gz
Renaming workbenchintegration.h/.cpp to qtcreatorintegration.h/.cpp
-rw-r--r--share/qtcreator/translations/qtcreator_de.ts4
-rw-r--r--share/qtcreator/translations/qtcreator_ja.ts4
-rw-r--r--src/plugins/designer/designer.pro4
-rw-r--r--src/plugins/designer/formeditorw.cpp4
-rw-r--r--src/plugins/designer/qtcreatorintegration.cpp (renamed from src/plugins/designer/workbenchintegration.cpp)14
-rw-r--r--src/plugins/designer/qtcreatorintegration.h (renamed from src/plugins/designer/workbenchintegration.h)10
6 files changed, 20 insertions, 20 deletions
diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts
index a143642d1d..6489b127f8 100644
--- a/share/qtcreator/translations/qtcreator_de.ts
+++ b/share/qtcreator/translations/qtcreator_de.ts
@@ -4381,9 +4381,9 @@ Using gdb 6.7 or later is strongly recommended.</source>
</message>
</context>
<context>
- <name>Designer::Internal::WorkbenchIntegration</name>
+ <name>Designer::Internal::QtCreatorIntegration</name>
<message>
- <location filename="../../../src/plugins/designer/workbenchintegration.cpp" line="+72"/>
+ <location filename="../../../src/plugins/designer/qtcreatorintegration.cpp" line="+72"/>
<source>The class definition of &apos;%1&apos; could not be found in %2.</source>
<translation type="unfinished"></translation>
</message>
diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts
index 7a9e5312d2..856539bf09 100644
--- a/share/qtcreator/translations/qtcreator_ja.ts
+++ b/share/qtcreator/translations/qtcreator_ja.ts
@@ -4080,9 +4080,9 @@ Using gdb 6.7 or later is strongly recommended.</source>
</message>
</context>
<context>
- <name>Designer::Internal::WorkbenchIntegration</name>
+ <name>Designer::Internal::QtCreatorIntegration</name>
<message>
- <location filename="../../../src/plugins/designer/workbenchintegration.cpp" line="+72"/>
+ <location filename="../../../src/plugins/designer/qtcreatorintegration.cpp" line="+72"/>
<source>The class definition of &apos;%1&apos; could not be found in %2.</source>
<translation type="unfinished"></translation>
</message>
diff --git a/src/plugins/designer/designer.pro b/src/plugins/designer/designer.pro
index 10957e9242..7fd97f35b2 100644
--- a/src/plugins/designer/designer.pro
+++ b/src/plugins/designer/designer.pro
@@ -26,7 +26,7 @@ HEADERS += formeditorplugin.h \
formwindowfile.h \
formwindowhost.h \
formwizard.h \
- workbenchintegration.h \
+ qtcreatorintegration.h \
designerconstants.h \
settingspage.h \
editorwidget.h \
@@ -41,7 +41,7 @@ SOURCES += formeditorplugin.cpp \
formwindowfile.cpp \
formwindowhost.cpp \
formwizard.cpp \
- workbenchintegration.cpp \
+ qtcreatorintegration.cpp \
settingspage.cpp \
editorwidget.cpp \
formeditorw.cpp \
diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp
index 9ed27b57e1..540525fc5b 100644
--- a/src/plugins/designer/formeditorw.cpp
+++ b/src/plugins/designer/formeditorw.cpp
@@ -33,7 +33,7 @@
#include "settingsmanager.h"
#include "settingspage.h"
#include "editorwidget.h"
-#include "workbenchintegration.h"
+#include "qtcreatorintegration.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
@@ -238,7 +238,7 @@ void FormEditorW::fullInit()
QDesignerComponents::initializePlugins(designerEditor());
QDesignerComponents::initializeResources();
initDesignerSubWindows();
- m_integration = new WorkbenchIntegration(m_formeditor, this);
+ m_integration = new QtCreatorIntegration(m_formeditor, this);
m_formeditor->setIntegration(m_integration);
/**
diff --git a/src/plugins/designer/workbenchintegration.cpp b/src/plugins/designer/qtcreatorintegration.cpp
index 8768e47092..b5450584c1 100644
--- a/src/plugins/designer/workbenchintegration.cpp
+++ b/src/plugins/designer/qtcreatorintegration.cpp
@@ -28,7 +28,7 @@
**************************************************************************/
#include "formeditorplugin.h"
-#include "workbenchintegration.h"
+#include "qtcreatorintegration.h"
#include "formeditorw.h"
#include "formwindoweditor.h"
@@ -69,7 +69,7 @@ static QString msgClassNotFound(const QString &uiClassName, const QList<Document
files += QLatin1String(", ");
files += doc->fileName();
}
- return WorkbenchIntegration::tr("The class definition of '%1' could not be found in %2.").arg(uiClassName, files);
+ return QtCreatorIntegration::tr("The class definition of '%1' could not be found in %2.").arg(uiClassName, files);
}
static inline CppTools::CppModelManagerInterface *cppModelManagerInstance()
@@ -78,7 +78,7 @@ static inline CppTools::CppModelManagerInterface *cppModelManagerInstance()
->getObject<CppTools::CppModelManagerInterface>();
}
-WorkbenchIntegration::WorkbenchIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent) :
+QtCreatorIntegration::QtCreatorIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent) :
qdesigner_internal::QDesignerIntegration(core, ::qobject_cast<QObject*>(parent)),
m_few(parent)
{
@@ -89,14 +89,14 @@ WorkbenchIntegration::WorkbenchIntegration(QDesignerFormEditorInterface *core, F
this, SLOT(slotNavigateToSlot(QString, QString, QStringList)));
}
-void WorkbenchIntegration::updateSelection()
+void QtCreatorIntegration::updateSelection()
{
if (FormWindowEditor *afww = m_few->activeFormWindow())
afww->updateFormWindowSelectionHandles(true);
qdesigner_internal::QDesignerIntegration::updateSelection();
}
-QWidget *WorkbenchIntegration::containerWindow(QWidget * /*widget*/) const
+QWidget *QtCreatorIntegration::containerWindow(QWidget * /*widget*/) const
{
FormWindowEditor *fw = m_few->activeFormWindow();
if (!fw)
@@ -526,7 +526,7 @@ static ClassDocumentPtrPair
return ClassDocumentPtrPair(0, Document::Ptr());
}
-void WorkbenchIntegration::slotNavigateToSlot(const QString &objectName, const QString &signalSignature,
+void QtCreatorIntegration::slotNavigateToSlot(const QString &objectName, const QString &signalSignature,
const QStringList &parameterNames)
{
QString errorMessage;
@@ -549,7 +549,7 @@ static inline QString uiClassName(QString formObjectName)
// Goto slot invoked by the designer context menu. Either navigates
// to an existing slot function or create a new one.
-bool WorkbenchIntegration::navigateToSlot(const QString &objectName,
+bool QtCreatorIntegration::navigateToSlot(const QString &objectName,
const QString &signalSignature,
const QStringList &parameterNames,
QString *errorMessage)
diff --git a/src/plugins/designer/workbenchintegration.h b/src/plugins/designer/qtcreatorintegration.h
index 92707d664a..5278250817 100644
--- a/src/plugins/designer/workbenchintegration.h
+++ b/src/plugins/designer/qtcreatorintegration.h
@@ -27,8 +27,8 @@
**
**************************************************************************/
-#ifndef WORKBENCHINTEGRATION_H
-#define WORKBENCHINTEGRATION_H
+#ifndef QTCREATORINTEGRATION_H
+#define QTCREATORINTEGRATION_H
#include <cpptools/cppmodelmanagerinterface.h>
@@ -39,10 +39,10 @@ namespace Internal {
class FormEditorW;
-class WorkbenchIntegration : public qdesigner_internal::QDesignerIntegration {
+class QtCreatorIntegration : public qdesigner_internal::QDesignerIntegration {
Q_OBJECT
public:
- WorkbenchIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent = 0);
+ QtCreatorIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent = 0);
QWidget *containerWindow(QWidget *widget) const;
@@ -63,4 +63,4 @@ private:
} // namespace Internal
} // namespace Designer
-#endif // WORKBENCHINTEGRATION_H
+#endif // QTCREATORINTEGRATION_H