Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4b8ad4d3
Commit
4b8ad4d3
authored
Jan 24, 2011
by
Friedemann Kleint
Browse files
Wizards: Fix include style.
parent
0f4d34ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/wizards/qtcreatorplugin/myplugin.cpp
View file @
4b8ad4d3
#include
"%PluginName:l%plugin.%CppHeaderSuffix%"
#include
"%PluginName:l%constants.%CppHeaderSuffix%"
#include
<QtPlugin>
#include
<coreplugin/icore.h>
#include
<coreplugin/icontext.h>
#include
<coreplugin/actionmanager/actionmanager.h>
...
...
@@ -10,11 +8,12 @@
#include
<coreplugin/actionmanager/actioncontainer.h>
#include
<coreplugin/coreconstants.h>
#include
<QtPlugin>
#include
<QAction>
#include
<QMessageBox>
#include
<QMainWindow>
#include
<QMenu>
#include
<QtGui/QAction>
#include
<QtGui/QMessageBox>
#include
<QtGui/QMainWindow>
#include
<QtGui/QMenu>
#include
<QtCore/QtPlugin>
using
namespace
%
PluginName
%::
Internal
;
...
...
share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h
View file @
4b8ad4d3
#ifndef %PluginName:u%_GLOBAL_%CppHeaderSuffix:u%
#define %PluginName:u%_GLOBAL_%CppHeaderSuffix:u%
#include
<QtCore/
qg
lobal
.h
>
#include
<QtCore/
QtG
lobal>
#if defined(%PluginName:u%_LIBRARY)
# define %PluginName:u%SHARED_EXPORT Q_DECL_EXPORT
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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