Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
d971065b
Commit
d971065b
authored
May 08, 2009
by
Alessandro Portale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming workbenchintegration.h/.cpp to qtcreatorintegration.h/.cpp
parent
0ffc9ab7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
20 deletions
+20
-20
share/qtcreator/translations/qtcreator_de.ts
share/qtcreator/translations/qtcreator_de.ts
+2
-2
share/qtcreator/translations/qtcreator_ja.ts
share/qtcreator/translations/qtcreator_ja.ts
+2
-2
src/plugins/designer/designer.pro
src/plugins/designer/designer.pro
+2
-2
src/plugins/designer/formeditorw.cpp
src/plugins/designer/formeditorw.cpp
+2
-2
src/plugins/designer/qtcreatorintegration.cpp
src/plugins/designer/qtcreatorintegration.cpp
+7
-7
src/plugins/designer/qtcreatorintegration.h
src/plugins/designer/qtcreatorintegration.h
+5
-5
No files found.
share/qtcreator/translations/qtcreator_de.ts
View file @
d971065b
...
...
@@ -4381,9 +4381,9 @@ Using gdb 6.7 or later is strongly recommended.</source>
<
/message
>
<
/context
>
<
context
>
<
name
>
Designer
::
Internal
::
Workbench
Integration
<
/name
>
<
name
>
Designer
::
Internal
::
QtCreator
Integration
<
/name
>
<
message
>
<
location
filename
=
"
../../../src/plugins/designer/
workbench
integration.cpp
"
line
=
"
+72
"
/>
<
location
filename
=
"
../../../src/plugins/designer/
qtcreator
integration.cpp
"
line
=
"
+72
"
/>
<
source
>
The
class
definition
of
&
apos
;
%
1
&
apos
;
could
not
be
found
in
%
2
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
...
...
share/qtcreator/translations/qtcreator_ja.ts
View file @
d971065b
...
...
@@ -4080,9 +4080,9 @@ Using gdb 6.7 or later is strongly recommended.</source>
<
/message
>
<
/context
>
<
context
>
<
name
>
Designer
::
Internal
::
Workbench
Integration
<
/name
>
<
name
>
Designer
::
Internal
::
QtCreator
Integration
<
/name
>
<
message
>
<
location
filename
=
"
../../../src/plugins/designer/
workbench
integration.cpp
"
line
=
"
+72
"
/>
<
location
filename
=
"
../../../src/plugins/designer/
qtcreator
integration.cpp
"
line
=
"
+72
"
/>
<
source
>
The
class
definition
of
&
apos
;
%
1
&
apos
;
could
not
be
found
in
%
2
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
...
...
src/plugins/designer/designer.pro
View file @
d971065b
...
...
@@ -26,7 +26,7 @@ HEADERS += formeditorplugin.h \
formwindowfile
.
h
\
formwindowhost
.
h
\
formwizard
.
h
\
workbench
integration
.
h
\
qtcreator
integration
.
h
\
designerconstants
.
h
\
settingspage
.
h
\
editorwidget
.
h
\
...
...
@@ -41,7 +41,7 @@ SOURCES += formeditorplugin.cpp \
formwindowfile
.
cpp
\
formwindowhost
.
cpp
\
formwizard
.
cpp
\
workbench
integration
.
cpp
\
qtcreator
integration
.
cpp
\
settingspage
.
cpp
\
editorwidget
.
cpp
\
formeditorw
.
cpp
\
...
...
src/plugins/designer/formeditorw.cpp
View file @
d971065b
...
...
@@ -33,7 +33,7 @@
#include "settingsmanager.h"
#include "settingspage.h"
#include "editorwidget.h"
#include "
workbench
integration.h"
#include "
qtcreator
integration.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
Workbench
Integration
(
m_formeditor
,
this
);
m_integration
=
new
QtCreator
Integration
(
m_formeditor
,
this
);
m_formeditor
->
setIntegration
(
m_integration
);
/**
...
...
src/plugins/designer/
workbench
integration.cpp
→
src/plugins/designer/
qtcreator
integration.cpp
View file @
d971065b
...
...
@@ -28,7 +28,7 @@
**************************************************************************/
#include "formeditorplugin.h"
#include "
workbench
integration.h"
#include "
qtcreator
integration.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
Workbench
Integration
::
tr
(
"The class definition of '%1' could not be found in %2."
).
arg
(
uiClassName
,
files
);
return
QtCreator
Integration
::
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
>
();
}
Workbench
Integration
::
Workbench
Integration
(
QDesignerFormEditorInterface
*
core
,
FormEditorW
*
parent
)
:
QtCreator
Integration
::
QtCreator
Integration
(
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
Workbench
Integration
::
updateSelection
()
void
QtCreator
Integration
::
updateSelection
()
{
if
(
FormWindowEditor
*
afww
=
m_few
->
activeFormWindow
())
afww
->
updateFormWindowSelectionHandles
(
true
);
qdesigner_internal
::
QDesignerIntegration
::
updateSelection
();
}
QWidget
*
Workbench
Integration
::
containerWindow
(
QWidget
*
/*widget*/
)
const
QWidget
*
QtCreator
Integration
::
containerWindow
(
QWidget
*
/*widget*/
)
const
{
FormWindowEditor
*
fw
=
m_few
->
activeFormWindow
();
if
(
!
fw
)
...
...
@@ -526,7 +526,7 @@ static ClassDocumentPtrPair
return
ClassDocumentPtrPair
(
0
,
Document
::
Ptr
());
}
void
Workbench
Integration
::
slotNavigateToSlot
(
const
QString
&
objectName
,
const
QString
&
signalSignature
,
void
QtCreator
Integration
::
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
Workbench
Integration
::
navigateToSlot
(
const
QString
&
objectName
,
bool
QtCreator
Integration
::
navigateToSlot
(
const
QString
&
objectName
,
const
QString
&
signalSignature
,
const
QStringList
&
parameterNames
,
QString
*
errorMessage
)
...
...
src/plugins/designer/
workbench
integration.h
→
src/plugins/designer/
qtcreator
integration.h
View file @
d971065b
...
...
@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef
WORKBENCH
INTEGRATION_H
#define
WORKBENCH
INTEGRATION_H
#ifndef
QTCREATOR
INTEGRATION_H
#define
QTCREATOR
INTEGRATION_H
#include <cpptools/cppmodelmanagerinterface.h>
...
...
@@ -39,10 +39,10 @@ namespace Internal {
class
FormEditorW
;
class
Workbench
Integration
:
public
qdesigner_internal
::
QDesignerIntegration
{
class
QtCreator
Integration
:
public
qdesigner_internal
::
QDesignerIntegration
{
Q_OBJECT
public:
Workbench
Integration
(
QDesignerFormEditorInterface
*
core
,
FormEditorW
*
parent
=
0
);
QtCreator
Integration
(
QDesignerFormEditorInterface
*
core
,
FormEditorW
*
parent
=
0
);
QWidget
*
containerWindow
(
QWidget
*
widget
)
const
;
...
...
@@ -63,4 +63,4 @@ private:
}
// namespace Internal
}
// namespace Designer
#endif //
WORKBENCH
INTEGRATION_H
#endif //
QTCREATOR
INTEGRATION_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment