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
6fed7c66
Commit
6fed7c66
authored
Aug 13, 2010
by
Tobias Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace some struct with classes
* Fixes warnings about struct/class mixup in windows Reviewed-by: thorbjorn
parent
cf46cf74
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
35 additions
and
27 deletions
+35
-27
src/plugins/texteditor/basetexteditor.h
src/plugins/texteditor/basetexteditor.h
+5
-5
src/plugins/texteditor/behaviorsettings.h
src/plugins/texteditor/behaviorsettings.h
+2
-1
src/plugins/texteditor/behaviorsettingspage.h
src/plugins/texteditor/behaviorsettingspage.h
+5
-4
src/plugins/texteditor/completionsettings.h
src/plugins/texteditor/completionsettings.h
+2
-1
src/plugins/texteditor/completionsupport.h
src/plugins/texteditor/completionsupport.h
+1
-1
src/plugins/texteditor/completionwidget.h
src/plugins/texteditor/completionwidget.h
+1
-1
src/plugins/texteditor/displaysettings.h
src/plugins/texteditor/displaysettings.h
+2
-1
src/plugins/texteditor/displaysettingspage.h
src/plugins/texteditor/displaysettingspage.h
+3
-2
src/plugins/texteditor/generichighlighter/highlighter.h
src/plugins/texteditor/generichighlighter/highlighter.h
+1
-1
src/plugins/texteditor/icompletioncollector.h
src/plugins/texteditor/icompletioncollector.h
+3
-2
src/plugins/texteditor/indenter.h
src/plugins/texteditor/indenter.h
+1
-1
src/plugins/texteditor/storagesettings.h
src/plugins/texteditor/storagesettings.h
+2
-1
src/plugins/texteditor/tabsettings.h
src/plugins/texteditor/tabsettings.h
+2
-1
src/plugins/texteditor/texteditorsettings.h
src/plugins/texteditor/texteditorsettings.h
+5
-5
No files found.
src/plugins/texteditor/basetexteditor.h
View file @
6fed7c66
...
...
@@ -47,7 +47,7 @@ namespace Utils {
}
namespace
TextEditor
{
struct
TabSettings
;
class
TabSettings
;
namespace
Internal
{
class
BaseTextEditorPrivate
;
...
...
@@ -85,10 +85,10 @@ class ITextMarkable;
class
BaseTextDocument
;
class
BaseTextEditorEditable
;
class
FontSettings
;
struct
BehaviorSettings
;
struct
CompletionSettings
;
struct
DisplaySettings
;
struct
StorageSettings
;
class
BehaviorSettings
;
class
CompletionSettings
;
class
DisplaySettings
;
class
StorageSettings
;
class
TEXTEDITOR_EXPORT
BaseTextEditorAnimator
:
public
QObject
{
...
...
src/plugins/texteditor/behaviorsettings.h
View file @
6fed7c66
...
...
@@ -42,8 +42,9 @@ namespace TextEditor {
* Settings that describe how the text editor behaves. This does not include
* the TabSettings and StorageSettings.
*/
struct
TEXTEDITOR_EXPORT
BehaviorSettings
class
TEXTEDITOR_EXPORT
BehaviorSettings
{
public:
BehaviorSettings
();
void
toSettings
(
const
QString
&
category
,
QSettings
*
s
)
const
;
...
...
src/plugins/texteditor/behaviorsettingspage.h
View file @
6fed7c66
...
...
@@ -36,12 +36,13 @@
namespace
TextEditor
{
struct
TabSettings
;
struct
StorageSettings
;
struct
BehaviorSettings
;
class
TabSettings
;
class
StorageSettings
;
class
BehaviorSettings
;
struct
BehaviorSettingsPageParameters
class
BehaviorSettingsPageParameters
{
public:
QString
id
;
QString
displayName
;
QString
settingsPrefix
;
...
...
src/plugins/texteditor/completionsettings.h
View file @
6fed7c66
...
...
@@ -53,8 +53,9 @@ enum CompletionTrigger {
/**
* Settings that describe how the code completion behaves.
*/
struct
TEXTEDITOR_EXPORT
CompletionSettings
class
TEXTEDITOR_EXPORT
CompletionSettings
{
public:
CompletionSettings
();
void
toSettings
(
const
QString
&
category
,
QSettings
*
s
)
const
;
...
...
src/plugins/texteditor/completionsupport.h
View file @
6fed7c66
...
...
@@ -36,7 +36,7 @@
namespace
TextEditor
{
struct
CompletionItem
;
class
CompletionItem
;
class
ICompletionCollector
;
class
ITextEditable
;
...
...
src/plugins/texteditor/completionwidget.h
View file @
6fed7c66
...
...
@@ -36,7 +36,7 @@
namespace
TextEditor
{
struct
CompletionItem
;
class
CompletionItem
;
class
ITextEditable
;
namespace
Internal
{
...
...
src/plugins/texteditor/displaysettings.h
View file @
6fed7c66
...
...
@@ -38,8 +38,9 @@ QT_END_NAMESPACE
namespace
TextEditor
{
struct
TEXTEDITOR_EXPORT
DisplaySettings
class
TEXTEDITOR_EXPORT
DisplaySettings
{
public:
DisplaySettings
();
void
toSettings
(
const
QString
&
category
,
QSettings
*
s
)
const
;
...
...
src/plugins/texteditor/displaysettingspage.h
View file @
6fed7c66
...
...
@@ -36,10 +36,11 @@
namespace
TextEditor
{
struct
DisplaySettings
;
class
DisplaySettings
;
struct
DisplaySettingsPageParameters
class
DisplaySettingsPageParameters
{
public:
QString
id
;
QString
displayName
;
QString
settingsPrefix
;
...
...
src/plugins/texteditor/generichighlighter/highlighter.h
View file @
6fed7c66
...
...
@@ -44,7 +44,7 @@
namespace
TextEditor
{
struct
TabSettings
;
class
TabSettings
;
namespace
Internal
{
...
...
src/plugins/texteditor/icompletioncollector.h
View file @
6fed7c66
...
...
@@ -44,10 +44,11 @@ class ICompletionCollectorPrivate;
class
ICompletionCollector
;
class
ITextEditable
;
struct
CompletionSettings
;
class
CompletionSettings
;
struct
CompletionItem
class
CompletionItem
{
public:
CompletionItem
(
ICompletionCollector
*
collector
=
0
)
:
relevance
(
0
),
duplicateCount
(
0
),
...
...
src/plugins/texteditor/indenter.h
View file @
6fed7c66
...
...
@@ -41,7 +41,7 @@ QT_END_NAMESPACE
namespace
TextEditor
{
struct
TabSettings
;
class
TabSettings
;
class
TEXTEDITOR_EXPORT
Indenter
{
...
...
src/plugins/texteditor/storagesettings.h
View file @
6fed7c66
...
...
@@ -38,8 +38,9 @@ QT_END_NAMESPACE
namespace
TextEditor
{
struct
TEXTEDITOR_EXPORT
StorageSettings
class
TEXTEDITOR_EXPORT
StorageSettings
{
public:
StorageSettings
();
void
toSettings
(
const
QString
&
category
,
QSettings
*
s
)
const
;
...
...
src/plugins/texteditor/tabsettings.h
View file @
6fed7c66
...
...
@@ -42,8 +42,9 @@ namespace TextEditor {
// Tab settings: Data type the GeneralSettingsPage acts on
// with some convenience functions for formatting.
struct
TEXTEDITOR_EXPORT
TabSettings
class
TEXTEDITOR_EXPORT
TabSettings
{
public:
// This enum must match the indexes of tabKeyBehavior widget
enum
TabKeyBehavior
{
TabNeverIndents
=
0
,
...
...
src/plugins/texteditor/texteditorsettings.h
View file @
6fed7c66
...
...
@@ -38,11 +38,11 @@ namespace TextEditor {
class
BaseTextEditor
;
class
FontSettings
;
struct
TabSettings
;
struct
StorageSettings
;
struct
BehaviorSettings
;
struct
DisplaySettings
;
struct
CompletionSettings
;
class
TabSettings
;
class
StorageSettings
;
class
BehaviorSettings
;
class
DisplaySettings
;
class
CompletionSettings
;
class
HighlighterSettings
;
namespace
Internal
{
...
...
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