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
cba3c6aa
Commit
cba3c6aa
authored
May 26, 2013
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove not necessary virtual keyword. Use const'ref
parent
31198f86
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
src/recmonitor.cpp
src/recmonitor.cpp
+1
-1
src/recmonitor.h
src/recmonitor.h
+3
-3
src/smallruler.h
src/smallruler.h
+3
-3
src/statusbarmessagelabel.h
src/statusbarmessagelabel.h
+2
-2
No files found.
src/recmonitor.cpp
View file @
cba3c6aa
...
...
@@ -816,7 +816,7 @@ void RecMonitor::showWarningMessage(const QString &text, bool logAction)
#endif
}
const
QString
RecMonitor
::
getV4lXmlPlaylist
(
MltVideoProfile
profile
,
bool
*
isXml
)
const
QString
RecMonitor
::
getV4lXmlPlaylist
(
const
MltVideoProfile
&
profile
,
bool
*
isXml
)
{
QString
playlist
;
if
(
rec_video
->
isChecked
()
&&
rec_audio
->
isChecked
())
{
...
...
src/recmonitor.h
View file @
cba3c6aa
...
...
@@ -64,8 +64,8 @@ public:
enum
CAPTUREDEVICE
{
FIREWIRE
=
0
,
VIDEO4LINUX
=
1
,
SCREENGRAB
=
2
,
BLACKMAGIC
=
3
};
protected:
virtual
void
mousePressEvent
(
QMouseEvent
*
event
);
virtual
void
mouseDoubleClickEvent
(
QMouseEvent
*
event
);
void
mousePressEvent
(
QMouseEvent
*
event
);
void
mouseDoubleClickEvent
(
QMouseEvent
*
event
);
private:
KDateTime
m_captureTime
;
...
...
@@ -117,7 +117,7 @@ private:
/** @brief Build MLT producer for device, using path as profile. */
void
buildMltDevice
(
const
QString
&
path
);
/** @brief Create string containing an XML playlist for v4l capture. */
const
QString
getV4lXmlPlaylist
(
MltVideoProfile
profile
,
bool
*
isXml
);
const
QString
getV4lXmlPlaylist
(
const
MltVideoProfile
&
profile
,
bool
*
isXml
);
/** @brief Display an error message to user. */
void
showWarningMessage
(
const
QString
&
text
,
bool
logAction
=
false
);
...
...
src/smallruler.h
View file @
cba3c6aa
...
...
@@ -46,9 +46,9 @@ public:
void
refreshRuler
();
protected:
virtual
void
paintEvent
(
QPaintEvent
*
e
);
virtual
void
resizeEvent
(
QResizeEvent
*
);
virtual
void
leaveEvent
(
QEvent
*
event
);
void
paintEvent
(
QPaintEvent
*
e
);
void
resizeEvent
(
QResizeEvent
*
);
void
leaveEvent
(
QEvent
*
event
);
private:
int
m_cursorPosition
;
...
...
src/statusbarmessagelabel.h
View file @
cba3c6aa
...
...
@@ -87,10 +87,10 @@ public:
protected:
/** @see QWidget::paintEvent() */
virtual
void
paintEvent
(
QPaintEvent
*
event
);
void
paintEvent
(
QPaintEvent
*
event
);
/** @see QWidget::resizeEvent() */
virtual
void
resizeEvent
(
QResizeEvent
*
event
);
void
resizeEvent
(
QResizeEvent
*
event
);
public
slots
:
void
setMessage
(
const
QString
&
text
,
MessageType
type
,
int
timeoutMS
=
0
);
...
...
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