Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
luyikei
VLMC
Commits
c4df6dd5
Commit
c4df6dd5
authored
Nov 21, 2009
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set a getter as virtual in media items
parent
ad61ee7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
src/GUI/AbstractGraphicsMediaItem.h
src/GUI/AbstractGraphicsMediaItem.h
+3
-0
src/GUI/GraphicsAudioItem.h
src/GUI/GraphicsAudioItem.h
+1
-1
src/GUI/GraphicsMovieItem.h
src/GUI/GraphicsMovieItem.h
+1
-1
No files found.
src/GUI/AbstractGraphicsMediaItem.h
View file @
c4df6dd5
...
...
@@ -50,6 +50,9 @@ public:
/// Should return the unique uid of the contained media.
virtual
const
QUuid
&
uuid
()
const
=
0
;
/// Clip contained in the item
virtual
Clip
*
clip
()
const
=
0
;
/// Return the type of the media
virtual
MainWorkflow
::
TrackType
mediaType
()
const
=
0
;
...
...
src/GUI/GraphicsAudioItem.h
View file @
c4df6dd5
...
...
@@ -51,7 +51,7 @@ public:
void
setWidth
(
int
width
);
void
setHeight
(
int
height
);
Clip
*
clip
()
const
;
virtual
Clip
*
clip
()
const
;
protected:
void
paintRect
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
option
);
...
...
src/GUI/GraphicsMovieItem.h
View file @
c4df6dd5
...
...
@@ -51,7 +51,7 @@ public:
void
setWidth
(
int
width
);
void
setHeight
(
int
height
);
Clip
*
clip
()
const
;
virtual
Clip
*
clip
()
const
;
protected:
void
paintRect
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
option
);
...
...
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