Apply a patch from Friedemann Kleint to project templates.

This commit is contained in:
Leena Miettinen
2010-04-19 17:17:20 +02:00
parent 1a97b470d7
commit e5d562b15d

View File

@@ -1296,10 +1296,10 @@
<icon>console.png</icon> <icon>console.png</icon>
<description>Creates a hello-world-project with custom message.</description> <description>Creates a hello-world-project with custom message.</description>
<description xml:lang="de">Erzeugt ein Hello-Welt-Projekt mit einer Nachricht.</description> <description xml:lang="de">Erzeugt ein Hello-Welt-Projekt mit einer Nachricht.</description>
<displayName>Hello World</displayName>; <displayname>Hello World</displayname>;
<displayName xml:lang="de">Hallo Welt</displayName>; <displayname xml:lang="de">Hallo Welt</displayname>;
<displayCategory>Custom Projects</displayCategory> <displaycategory>Custom Projects</displaycategory>
<displayCategory xml:lang="de">Benutzerdefinierte Projekte</displayCategory> <displaycategory xml:lang="de">Benutzerdefinierte Projekte</displaycategory>
\endcode \endcode
@@ -1325,8 +1325,8 @@
\code \code
<files> <files>
<file source="main.cpp"/> <file source="main.cpp" openeditor="true" />
<file source="project.pro" target="%ProjectName%.pro"/> <file source="project.pro" target="%ProjectName%.pro" openproject="true" />
\endcode \endcode
@@ -1339,6 +1339,12 @@
variable is replaced with the string that users specify in the \gui Name variable is replaced with the string that users specify in the \gui Name
field on the first page of the wizard. field on the first page of the wizard.
\o \c openproject indicates that the file is a project file which is to be opened
after the wizard has finished.
\o \c openeditor indicates that the file is to be opened in an editor after
the wizard has finished.
\endlist \endlist
\o The following code creates a page that specifies settings for the project: \o The following code creates a page that specifies settings for the project:
@@ -1399,11 +1405,11 @@
<description>Creates a QAbstractListModel implementation.</description> <description>Creates a QAbstractListModel implementation.</description>
<description xml:lang="de">Erzeugt eine Implementierung von QAbstractListModel.</description> <description xml:lang="de">Erzeugt eine Implementierung von QAbstractListModel.</description>
<displayName>QAbstractListModel implementation</displayName> <displayname>QAbstractListModel implementation</displayname>
<displayName xml:lang="de">Implementierung von QAbstractListModel</displayName> <displayname xml:lang="de">Implementierung von QAbstractListModel</displayname>
<displayCategory>Custom Classes</displayCategory> <displaycategory>Custom Classes</displaycategory>
<displayCategory xml:lang="de">Benutzerdefinierte Klassen</displayCategory> <displaycategory xml:lang="de">Benutzerdefinierte Klassen</displaycategory>
\endcode \endcode
@@ -1415,8 +1421,8 @@
\code \code
<files> <files>
<file source="listmodel.cpp" target="%ClassName:l%.%CppSourceSuffix%"/> <file source="listmodel.cpp" target="%ClassName:l%.%CppSourceSuffix%" openeditor="true" />
<file source="listmodel.h" target="%ClassName:l%.%CppHeaderSuffix%"/> <file source="listmodel.h" target="%ClassName:l%.%CppHeaderSuffix%" openeditor="true" />
</files> </files>
\endcode \endcode