Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
0c14e626
Commit
0c14e626
authored
May 27, 2013
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const'ref
parent
a12cf2d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/docclipbase.cpp
src/docclipbase.cpp
+3
-3
src/docclipbase.h
src/docclipbase.h
+3
-3
No files found.
src/docclipbase.cpp
View file @
0c14e626
...
...
@@ -478,7 +478,7 @@ QString DocClipBase::markerComment(const GenTime &t) const
return
QString
();
}
CommentedTime
DocClipBase
::
markerAt
(
GenTime
t
)
const
CommentedTime
DocClipBase
::
markerAt
(
const
GenTime
&
t
)
const
{
QList
<
CommentedTime
>::
ConstIterator
itt
=
m_snapMarkers
.
begin
();
while
(
itt
!=
m_snapMarkers
.
end
())
{
...
...
@@ -1048,7 +1048,7 @@ void DocClipBase::setProperties(QMap <QString, QString> properties)
if
(
refreshProducer
)
slotRefreshProducer
();
}
void
DocClipBase
::
setMetadata
(
QMap
<
QString
,
QString
>
properties
,
QString
tool
)
void
DocClipBase
::
setMetadata
(
const
QMap
<
QString
,
QString
>
&
properties
,
const
QString
&
tool
)
{
QMapIterator
<
QString
,
QString
>
i
(
properties
);
while
(
i
.
hasNext
())
{
...
...
@@ -1340,7 +1340,7 @@ bool DocClipBase::hasAudioCodec(const QString &codec) const
}
void
DocClipBase
::
slotExtractImage
(
QList
<
int
>
frames
)
void
DocClipBase
::
slotExtractImage
(
const
QList
<
int
>
&
frames
)
{
if
(
m_thumbProd
==
NULL
)
return
;
m_thumbProd
->
extractImage
(
frames
);
...
...
src/docclipbase.h
View file @
0c14e626
...
...
@@ -275,12 +275,12 @@ public slots:
void
addSnapMarker
(
const
CommentedTime
&
marker
);
QList
<
GenTime
>
snapMarkers
()
const
;
QString
markerComment
(
const
GenTime
&
t
)
const
;
CommentedTime
markerAt
(
GenTime
t
)
const
;
CommentedTime
markerAt
(
const
GenTime
&
t
)
const
;
void
setClipThumbFrame
(
const
uint
&
ix
);
uint
getClipThumbFrame
()
const
;
void
setProperties
(
QMap
<
QString
,
QString
>
properties
);
void
setMetadata
(
QMap
<
QString
,
QString
>
properties
,
QString
tool
=
QString
());
void
slotExtractImage
(
QList
<
int
>
frames
);
void
setMetadata
(
const
QMap
<
QString
,
QString
>
&
properties
,
const
QString
&
tool
=
QString
());
void
slotExtractImage
(
const
QList
<
int
>
&
frames
);
signals:
void
gotAudioData
();
...
...
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