Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
d95bfc3f
Commit
d95bfc3f
authored
Mar 31, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: add some usefull const.
parent
9ad1dde8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/util/qvlcframe.hpp
modules/gui/qt4/util/qvlcframe.hpp
+7
-7
No files found.
modules/gui/qt4/util/qvlcframe.hpp
View file @
d95bfc3f
...
...
@@ -51,7 +51,7 @@ class QVLCTools
settings
->
setValue
(
"geometry"
,
widget
->
saveGeometry
());
}
static
void
saveWidgetPosition
(
intf_thread_t
*
p_intf
,
QString
configName
,
const
QString
&
configName
,
QWidget
*
widget
)
{
getSettings
()
->
beginGroup
(
configName
);
...
...
@@ -83,7 +83,7 @@ class QVLCTools
}
static
bool
restoreWidgetPosition
(
intf_thread_t
*
p_intf
,
QString
configName
,
const
QString
&
configName
,
QWidget
*
widget
,
QSize
defSize
=
QSize
(
0
,
0
),
QPoint
defPos
=
QPoint
(
0
,
0
)
)
...
...
@@ -131,14 +131,14 @@ public:
protected:
intf_thread_t
*
p_intf
;
void
readSettings
(
QString
name
,
void
readSettings
(
const
QString
&
name
,
QSize
defSize
=
QSize
(
1
,
1
),
QPoint
defPos
=
QPoint
(
0
,
0
)
)
{
QVLCTools
::
restoreWidgetPosition
(
p_intf
,
name
,
this
,
defSize
,
defPos
);
}
void
writeSettings
(
QString
name
)
void
writeSettings
(
const
QString
&
name
)
{
QVLCTools
::
saveWidgetPosition
(
p_intf
,
name
,
this
);
}
...
...
@@ -218,12 +218,12 @@ protected:
intf_thread_t
*
p_intf
;
QSize
mainSize
;
void
readSettings
(
QString
name
,
QSize
defSize
)
void
readSettings
(
const
QString
&
name
,
QSize
defSize
)
{
QVLCTools
::
restoreWidgetPosition
(
p_intf
,
name
,
this
,
defSize
);
}
void
readSettings
(
QString
name
)
void
readSettings
(
const
QString
&
name
)
{
QVLCTools
::
restoreWidgetPosition
(
p_intf
,
name
,
this
);
}
...
...
@@ -237,7 +237,7 @@ protected:
QVLCTools
::
restoreWidgetPosition
(
settings
,
this
,
defSize
);
}
void
writeSettings
(
QString
name
)
void
writeSettings
(
const
QString
&
name
)
{
QVLCTools
::
saveWidgetPosition
(
p_intf
,
name
,
this
);
}
...
...
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