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
8acbb8ac
Commit
8acbb8ac
authored
Oct 09, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - use enums instead of defines when you can.
parent
1674135c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+18
-14
No files found.
modules/gui/qt4/dialogs_provider.hpp
View file @
8acbb8ac
...
...
@@ -35,12 +35,6 @@
#include <QTimer>
#include <QApplication>
#define EXT_FILTER_MEDIA 0x01
#define EXT_FILTER_VIDEO 0x02
#define EXT_FILTER_AUDIO 0x04
#define EXT_FILTER_PLAYLIST 0x08
#define EXT_FILTER_SUBTITLE 0x10
#define ADD_FILTER_MEDIA( string ) \
string += qtr("Media Files"); \
string += " ( "; \
...
...
@@ -70,15 +64,25 @@
string += qtr("All Files"); \
string += " (*.*)";
#define OPEN_FILE_TAB 0x0
#define OPEN_DISC_TAB 0x1
#define OPEN_NETWORK_TAB 0x2
#define OPEN_CAPTURE_TAB 0x3
#define EXT_FILTER_MEDIA 0x01
#define EXT_FILTER_VIDEO 0x02
#define EXT_FILTER_AUDIO 0x04
#define EXT_FILTER_PLAYLIST 0x08
#define EXT_FILTER_SUBTITLE 0x10
enum
{
OPEN_FILE_TAB
,
OPEN_DISC_TAB
,
OPEN_NETWORK_TAB
,
OPEN_CAPTURE_TAB
};
#define OPEN_AND_PLAY 0x0
#define OPEN_AND_STREAM 0x1
#define OPEN_AND_SAVE 0x2
#define ENQUEUE 0x4
enum
{
OPEN_AND_PLAY
,
OPEN_AND_STREAM
,
OPEN_AND_SAVE
,
ENQUEUE
};
class
QEvent
;
class
QSignalMapper
;
...
...
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