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
bd424881
Commit
bd424881
authored
Feb 05, 2010
by
Christiaan Janssen
Browse files
explicit constructors
parent
b6c7c597
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/navigator/navigatortreeview.h
View file @
bd424881
...
...
@@ -51,7 +51,7 @@ class NavigatorTreeModel;
class
IconCheckboxItemDelegate
:
public
QStyledItemDelegate
{
public:
IconCheckboxItemDelegate
(
QObject
*
parent
=
0
,
QString
checkedPixmapURL
=
""
,
QString
uncheckedPixmapURL
=
""
,
NavigatorTreeModel
*
treeModel
=
NULL
)
explicit
IconCheckboxItemDelegate
(
QObject
*
parent
=
0
,
QString
checkedPixmapURL
=
""
,
QString
uncheckedPixmapURL
=
""
,
NavigatorTreeModel
*
treeModel
=
NULL
)
:
QStyledItemDelegate
(
parent
),
offPix
(
uncheckedPixmapURL
),
onPix
(
checkedPixmapURL
),
m_TreeModel
(
treeModel
)
{}
...
...
@@ -71,7 +71,7 @@ class IconCheckboxItemDelegate : public QStyledItemDelegate
class
IdItemDelegate
:
public
QStyledItemDelegate
{
public:
IdItemDelegate
(
QObject
*
parent
=
0
,
NavigatorTreeModel
*
treeModel
=
NULL
)
:
QStyledItemDelegate
(
parent
),
m_TreeModel
(
treeModel
)
{}
explicit
IdItemDelegate
(
QObject
*
parent
=
0
,
NavigatorTreeModel
*
treeModel
=
NULL
)
:
QStyledItemDelegate
(
parent
),
m_TreeModel
(
treeModel
)
{}
void
paint
(
QPainter
*
painter
,
const
QStyleOptionViewItem
&
option
,
const
QModelIndex
&
index
)
const
;
...
...
src/plugins/qmldesigner/components/propertyeditor/basiclayouts.h
View file @
bd424881
...
...
@@ -54,7 +54,7 @@ class QBoxLayoutObject : public QLayoutObject
Q_CLASSINFO
(
"DefaultProperty"
,
"children"
)
public:
QBoxLayoutObject
(
QObject
*
parent
=
0
);
QBoxLayoutObject
(
QBoxLayout
*
,
QObject
*
parent
=
0
);
explicit
QBoxLayoutObject
(
QBoxLayout
*
,
QObject
*
parent
=
0
);
virtual
QLayout
*
layout
()
const
;
QmlList
<
QWidget
*>
*
children
()
{
return
&
_widgets
;
}
...
...
src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
View file @
bd424881
...
...
@@ -42,7 +42,7 @@ class StatesEditorView : public QmlModelView {
Q_OBJECT
public:
StatesEditorView
(
StatesEditorModel
*
model
,
QObject
*
parent
=
0
);
explicit
StatesEditorView
(
StatesEditorModel
*
model
,
QObject
*
parent
=
0
);
void
setCurrentState
(
int
index
);
void
setCurrentStateSilent
(
int
index
);
...
...
src/plugins/qmldesigner/core/include/subcomponentmanager.h
View file @
bd424881
...
...
@@ -45,7 +45,7 @@ class CORESHARED_EXPORT SubComponentManager : public QObject
{
Q_OBJECT
public:
SubComponentManager
(
MetaInfo
metaInfo
,
QObject
*
parent
=
0
);
explicit
SubComponentManager
(
MetaInfo
metaInfo
,
QObject
*
parent
=
0
);
~
SubComponentManager
();
void
update
(
const
QUrl
&
fileUrl
,
const
QByteArray
&
data
);
...
...
src/plugins/qmldesigner/core/model/parsedqml.h
View file @
bd424881
...
...
@@ -44,7 +44,7 @@ namespace Internal {
class
ParsedQML
{
public:
ParsedQML
(
const
QString
&
sourceCode
,
const
QString
&
fileName
=
QString
());
explicit
ParsedQML
(
const
QString
&
sourceCode
,
const
QString
&
fileName
=
QString
());
bool
isValid
()
const
{
return
m_ast
!=
0
;
}
QmlJS
::
AST
::
UiProgram
*
ast
()
const
{
return
m_ast
;
}
...
...
src/plugins/qmldesigner/core/model/qmltextgenerator.h
View file @
bd424881
...
...
@@ -42,7 +42,7 @@ namespace Internal {
class
QmlTextGenerator
{
public:
QmlTextGenerator
(
const
QStringList
&
propertyOrder
,
int
indentDepth
=
0
);
explicit
QmlTextGenerator
(
const
QStringList
&
propertyOrder
,
int
indentDepth
=
0
);
QString
operator
()(
const
AbstractProperty
&
property
)
const
{
return
toQml
(
property
,
m_indentDepth
);
}
...
...
src/plugins/qmldesigner/designmodewidget.h
View file @
bd424881
...
...
@@ -99,7 +99,7 @@ class DocumentWarningWidget : public QFrame
Q_OBJECT
Q_DISABLE_COPY
(
DocumentWarningWidget
)
public:
DocumentWarningWidget
(
DocumentWidget
*
documentWidget
,
QWidget
*
parent
=
0
);
explicit
DocumentWarningWidget
(
DocumentWidget
*
documentWidget
,
QWidget
*
parent
=
0
);
void
setError
(
const
RewriterView
::
Error
&
error
);
...
...
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