Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
a73b86a5
Commit
a73b86a5
authored
Aug 16, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: rename even ID offsets as what they are
parent
26027de9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
modules/gui/qt4/dialogs/help.hpp
modules/gui/qt4/dialogs/help.hpp
+2
-2
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+1
-1
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+2
-2
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+3
-3
modules/gui/qt4/qt4.hpp
modules/gui/qt4/qt4.hpp
+4
-4
No files found.
modules/gui/qt4/dialogs/help.hpp
View file @
a73b86a5
...
...
@@ -65,8 +65,8 @@ public slots:
#ifdef UPDATE_CHECK
static
const
int
UDOkEvent
=
QEvent
::
User
+
DialogEventType
+
21
;
static
const
int
UDErrorEvent
=
QEvent
::
User
+
DialogEventType
+
22
;
static
const
int
UDOkEvent
=
QEvent
::
User
+
DialogEventType
Offset
+
21
;
static
const
int
UDErrorEvent
=
QEvent
::
User
+
DialogEventType
Offset
+
22
;
class
UpdateDialog
:
public
QVLCFrame
,
public
Singleton
<
UpdateDialog
>
{
...
...
modules/gui/qt4/dialogs/messages.cpp
View file @
a73b86a5
...
...
@@ -44,7 +44,7 @@
#include <assert.h>
enum
{
MsgEvent_Type
=
QEvent
::
User
+
MsgEventType
+
1
,
MsgEvent_Type
=
QEvent
::
User
+
MsgEventType
Offset
+
1
,
};
class
MsgEvent
:
public
QEvent
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
a73b86a5
...
...
@@ -58,10 +58,10 @@ enum {
};
enum
{
DialogEvent_Type
=
QEvent
::
User
+
DialogEventType
+
1
,
DialogEvent_Type
=
QEvent
::
User
+
DialogEventType
Offset
+
1
,
//PLUndockEvent_Type = QEvent::User + DialogEventType + 2;
//PLDockEvent_Type = QEvent::User + DialogEventType + 3;
SetVideoOnTopEvent_Type
=
QEvent
::
User
+
DialogEventType
+
4
,
SetVideoOnTopEvent_Type
=
QEvent
::
User
+
DialogEventType
Offset
+
4
,
};
class
QEvent
;
...
...
modules/gui/qt4/input_manager.hpp
View file @
a73b86a5
...
...
@@ -40,7 +40,7 @@
#include <QEvent>
enum
{
PositionUpdate_Type
=
QEvent
::
User
+
IMEventType
+
1
,
PositionUpdate_Type
=
QEvent
::
User
+
IMEventType
Offset
+
1
,
ItemChanged_Type
,
ItemStateChanged_Type
,
ItemTitleChanged_Type
,
...
...
@@ -63,7 +63,7 @@ enum {
EPGEvent_Type
,
/* SignalChanged_Type, */
FullscreenControlToggle_Type
=
QEvent
::
User
+
IMEventType
+
20
,
FullscreenControlToggle_Type
=
QEvent
::
User
+
IMEventType
Offset
+
20
,
FullscreenControlShow_Type
,
FullscreenControlHide_Type
,
FullscreenControlPlanHide_Type
,
...
...
@@ -103,7 +103,7 @@ class PLEvent : public QEvent
public:
enum
PLEventTypes
{
PLItemAppended_Type
=
QEvent
::
User
+
PLEventType
+
1
,
PLItemAppended_Type
=
QEvent
::
User
+
PLEventType
Offset
+
1
,
PLItemRemoved_Type
,
LeafToParent_Type
,
PLEmpty_Type
...
...
modules/gui/qt4/qt4.hpp
View file @
a73b86a5
...
...
@@ -43,10 +43,10 @@
#define HAS_QT47 ( QT_VERSION >= 0x040700 )
enum
{
DialogEventType
=
0
,
IMEventType
=
100
,
PLEventType
=
200
,
MsgEventType
=
300
,
DialogEventType
Offset
=
0
,
IMEventType
Offset
=
100
,
PLEventType
Offset
=
200
,
MsgEventType
Offset
=
300
,
};
enum
{
...
...
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