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
262b0474
Commit
262b0474
authored
Jan 25, 2004
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
string review
parent
064c1166
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
53 deletions
+53
-53
modules/gui/kde/disc.cpp
modules/gui/kde/disc.cpp
+5
-5
modules/gui/kde/interface.cpp
modules/gui/kde/interface.cpp
+39
-39
modules/gui/kde/kde.cpp
modules/gui/kde/kde.cpp
+3
-3
modules/gui/kde/net.cpp
modules/gui/kde/net.cpp
+4
-4
modules/gui/kde/preferences.cpp
modules/gui/kde/preferences.cpp
+2
-2
No files found.
modules/gui/kde/disc.cpp
View file @
262b0474
...
...
@@ -28,23 +28,23 @@ KDiskDialog::KDiskDialog( QWidget *parent, const char *name )
QHBox
*
deviceSelectHBox
=
new
QHBox
(
pageVBox
);
deviceSelectHBox
->
setSpacing
(
5
);
fButtonGroup
=
new
QVButtonGroup
(
"Disk type"
,
deviceSelectHBox
);
fButtonGroup
=
new
QVButtonGroup
(
_
(
"Disk type"
)
,
deviceSelectHBox
);
fDVDButton
=
new
QRadioButton
(
"DVD"
,
fButtonGroup
);
fDVDButton
->
setChecked
(
true
);
fVCDButton
=
new
QRadioButton
(
"VCD"
,
fButtonGroup
);
fVCDButton
->
setEnabled
(
false
);
QVGroupBox
*
startVBox
=
new
QVGroupBox
(
"Starting position"
,
deviceSelectHBox
);
QVGroupBox
*
startVBox
=
new
QVGroupBox
(
_
(
"Starting position"
)
,
deviceSelectHBox
);
QHBox
*
titleHBox
=
new
QHBox
(
startVBox
);
new
QLabel
(
"Title "
,
titleHBox
);
new
QLabel
(
_
(
"Title "
)
,
titleHBox
);
fTitle
=
new
QSpinBox
(
titleHBox
);
QHBox
*
chapterHBox
=
new
QHBox
(
startVBox
);
new
QLabel
(
"Chapter "
,
chapterHBox
);
new
QLabel
(
_
(
"Chapter "
)
,
chapterHBox
);
fChapter
=
new
QSpinBox
(
chapterHBox
);
QHBox
*
deviceNameHBox
=
new
QHBox
(
pageVBox
);
new
QLabel
(
"Device name "
,
deviceNameHBox
);
new
QLabel
(
_
(
"Device name "
)
,
deviceNameHBox
);
fLineEdit
=
new
KLineEdit
(
"/dev/dvd"
,
deviceNameHBox
);
}
...
...
modules/gui/kde/interface.cpp
View file @
262b0474
...
...
@@ -86,7 +86,7 @@ KInterface::~KInterface()
void
KInterface
::
initActions
()
{
languages
=
new
KActionMenu
(
_
(
"Languages"
),
actionCollection
(),
"language"
);
_
(
"language"
)
);
languages
->
setEnabled
(
false
);
languageCollection
=
new
KActionCollection
(
this
);
subtitleCollection
=
new
KActionCollection
(
this
);
...
...
@@ -107,28 +107,28 @@ void KInterface::initActions()
viewStatusBar
=
KStdAction
::
showStatusbar
(
this
,
SLOT
(
slotViewStatusBar
()),
actionCollection
());
diskOpen
=
new
KAction
(
i18n
(
"Open &Disk"
),
0
,
0
,
this
,
diskOpen
=
new
KAction
(
i18n
(
_
(
"Open &Disk"
)
),
0
,
0
,
this
,
SLOT
(
slotOpenDisk
()
),
actionCollection
(),
"open_disk"
);
streamOpen
=
new
KAction
(
i18n
(
"Open &Stream"
),
0
,
0
,
this
,
streamOpen
=
new
KAction
(
i18n
(
_
(
"Open &Stream"
)
),
0
,
0
,
this
,
SLOT
(
slotOpenStream
()
),
actionCollection
(),
"open_stream"
);
backward
=
new
KAction
(
i18n
(
"&Backward"
),
0
,
0
,
this
,
backward
=
new
KAction
(
i18n
(
_
(
"&Backward"
)
),
0
,
0
,
this
,
SLOT
(
slotBackward
()
),
actionCollection
(),
"backward"
);
stop
=
new
KAction
(
i18n
(
"&Stop"
),
0
,
0
,
this
,
stop
=
new
KAction
(
i18n
(
_
(
"&Stop"
)
),
0
,
0
,
this
,
SLOT
(
slotStop
()
),
actionCollection
(),
"stop"
);
play
=
new
KAction
(
i18n
(
"&Play"
),
0
,
0
,
this
,
play
=
new
KAction
(
i18n
(
_
(
"&Play"
)
),
0
,
0
,
this
,
SLOT
(
slotPlay
()
),
actionCollection
(),
"play"
);
pause
=
new
KAction
(
i18n
(
"P&ause"
),
0
,
0
,
this
,
pause
=
new
KAction
(
i18n
(
_
(
"P&ause"
)
),
0
,
0
,
this
,
SLOT
(
slotPause
()
),
actionCollection
(),
"pause"
);
slow
=
new
KAction
(
i18n
(
"&Slow"
),
0
,
0
,
this
,
slow
=
new
KAction
(
i18n
(
_
(
"&Slow"
)
),
0
,
0
,
this
,
SLOT
(
slotSlow
()
),
actionCollection
(),
"slow"
);
fast
=
new
KAction
(
i18n
(
"Fas&t"
),
0
,
0
,
this
,
fast
=
new
KAction
(
i18n
(
_
(
"Fas&t"
)
),
0
,
0
,
this
,
SLOT
(
slotFast
()
),
actionCollection
(),
"fast"
);
prev
=
new
KAction
(
i18n
(
"Prev"
),
0
,
0
,
this
,
prev
=
new
KAction
(
i18n
(
_
(
"Prev"
)
),
0
,
0
,
this
,
SLOT
(
slotPrev
()
),
actionCollection
(),
"prev"
);
next
=
new
KAction
(
i18n
(
"Next"
),
0
,
0
,
this
,
next
=
new
KAction
(
i18n
(
_
(
"Next"
)
),
0
,
0
,
this
,
SLOT
(
slotNext
()
),
actionCollection
(),
"next"
);
messages
=
new
KAction
(
_
(
"Messages..."
),
0
,
0
,
this
,
SLOT
(
slotShowMessages
()
),
actionCollection
(),
...
...
@@ -145,22 +145,22 @@ void KInterface::initActions()
title
->
setEnabled
(
false
);
chapter
=
new
KActionMenu
(
_
(
"Chapter"
),
actionCollection
(),
"chapter"
);
chapter
->
setEnabled
(
false
);
fileOpen
->
setStatusText
(
i18n
(
"Opens an existing document"
));
fileOpenRecent
->
setStatusText
(
i18n
(
"Opens a recently used file"
));
fileQuit
->
setStatusText
(
i18n
(
"Quits the application"
));
viewToolBar
->
setStatusText
(
i18n
(
"Enables/disables the toolbar"
));
viewStatusBar
->
setStatusText
(
i18n
(
"Enables/disables the statusbar"
));
diskOpen
->
setStatusText
(
i18n
(
"Opens a disk"
)
);
streamOpen
->
setStatusText
(
i18n
(
"Opens a network stream"
)
);
backward
->
setStatusText
(
i18n
(
"Backward"
)
);
stop
->
setStatusText
(
i18n
(
"Stops playback"
)
);
play
->
setStatusText
(
i18n
(
"Starts playback"
)
);
pause
->
setStatusText
(
i18n
(
"Pauses playback"
)
);
slow
->
setStatusText
(
i18n
(
"Slow"
)
);
fast
->
setStatusText
(
i18n
(
"Fast"
)
);
prev
->
setStatusText
(
i18n
(
"Prev"
)
);
next
->
setStatusText
(
i18n
(
"Next"
)
);
fileOpen
->
setStatusText
(
i18n
(
_
(
"Opens an existing document"
)
));
fileOpenRecent
->
setStatusText
(
i18n
(
_
(
"Opens a recently used file"
)
));
fileQuit
->
setStatusText
(
i18n
(
_
(
"Quits the application"
)
));
viewToolBar
->
setStatusText
(
i18n
(
_
(
"Enables/disables the toolbar"
)
));
viewStatusBar
->
setStatusText
(
i18n
(
_
(
"Enables/disables the statusbar"
)
));
diskOpen
->
setStatusText
(
i18n
(
_
(
"Opens a disk"
)
)
);
streamOpen
->
setStatusText
(
i18n
(
_
(
"Opens a network stream"
)
)
);
backward
->
setStatusText
(
i18n
(
_
(
"Backward"
)
)
);
stop
->
setStatusText
(
i18n
(
_
(
"Stops playback"
)
)
);
play
->
setStatusText
(
i18n
(
_
(
"Starts playback"
)
)
);
pause
->
setStatusText
(
i18n
(
_
(
"Pauses playback"
)
)
);
slow
->
setStatusText
(
i18n
(
_
(
"Slow"
)
)
);
fast
->
setStatusText
(
i18n
(
_
(
"Fast"
)
)
);
prev
->
setStatusText
(
i18n
(
_
(
"Prev"
)
)
);
next
->
setStatusText
(
i18n
(
_
(
"Next"
)
)
);
// use the absolute path to your ktestui.rc file for testing purpose in createGUI();
char
*
psz_uifile
=
config_GetPsz
(
p_intf
,
"kde-uirc"
);
createGUI
(
psz_uifile
);
...
...
@@ -172,7 +172,7 @@ void KInterface::initStatusBar()
///////////////////////////////////////////////////////////////////
// STATUSBAR
// TODO: add your own items you need for displaying current application status.
statusBar
()
->
insertItem
(
i18n
(
"Ready."
),
ID_STATUS_MSG
,
1
,
false
);
statusBar
()
->
insertItem
(
i18n
(
_
(
"Ready."
)
),
ID_STATUS_MSG
,
1
,
false
);
statusBar
()
->
setItemAlignment
(
ID_STATUS_MSG
,
AlignLeft
|
AlignVCenter
);
statusBar
()
->
insertItem
(
"0:00:00"
,
ID_DATE
,
0
,
true
);
}
...
...
@@ -197,9 +197,9 @@ void KInterface::slotFileOpen()
{
playlist_t
*
p_playlist
;
slotStatusMsg
(
i18n
(
"Opening file..."
)
);
slotStatusMsg
(
i18n
(
_
(
"Opening file..."
)
)
);
KURL
url
=
KFileDialog
::
getOpenURL
(
QString
::
null
,
i18n
(
"*|All files"
),
this
,
i18n
(
"Open File..."
)
);
i18n
(
"*|All files"
),
this
,
i18n
(
_
(
"Open File..."
)
)
);
if
(
!
url
.
isEmpty
()
)
{
...
...
@@ -214,25 +214,25 @@ void KInterface::slotFileOpen()
}
}
slotStatusMsg
(
i18n
(
"Ready."
)
);
slotStatusMsg
(
i18n
(
_
(
"Ready."
)
)
);
}
void
KInterface
::
slotFileOpenRecent
(
const
KURL
&
url
)
{
slotStatusMsg
(
i18n
(
"Opening file..."
));
slotStatusMsg
(
i18n
(
"Ready."
));
slotStatusMsg
(
i18n
(
_
(
"Opening file..."
)
));
slotStatusMsg
(
i18n
(
_
(
"Ready."
)
));
}
void
KInterface
::
slotFileQuit
()
{
slotStatusMsg
(
i18n
(
"Exiting..."
));
slotStatusMsg
(
i18n
(
_
(
"Exiting..."
)
));
p_intf
->
p_vlc
->
b_die
=
VLC_TRUE
;
slotStatusMsg
(
i18n
(
"Ready."
));
slotStatusMsg
(
i18n
(
_
(
"Ready."
)
));
}
void
KInterface
::
slotViewToolBar
()
{
slotStatusMsg
(
i18n
(
"Toggling toolbar..."
));
slotStatusMsg
(
i18n
(
_
(
"Toggling toolbar..."
)
));
///////////////////////////////////////////////////////////////////
// turn Toolbar on or off
if
(
!
viewToolBar
->
isChecked
())
...
...
@@ -244,12 +244,12 @@ void KInterface::slotViewToolBar()
toolBar
(
"mainToolBar"
)
->
show
();
}
slotStatusMsg
(
i18n
(
"Ready."
));
slotStatusMsg
(
i18n
(
_
(
"Ready."
)
));
}
void
KInterface
::
slotViewStatusBar
()
{
slotStatusMsg
(
i18n
(
"Toggle the statusbar..."
));
slotStatusMsg
(
i18n
(
_
(
"Toggle the statusbar..."
)
));
///////////////////////////////////////////////////////////////////
//turn Statusbar on or off
if
(
!
viewStatusBar
->
isChecked
())
...
...
@@ -261,7 +261,7 @@ void KInterface::slotViewStatusBar()
statusBar
()
->
show
();
}
slotStatusMsg
(
i18n
(
"Ready."
));
slotStatusMsg
(
i18n
(
_
(
"Ready."
)
));
}
void
KInterface
::
slotShowPreferences
()
...
...
modules/gui/kde/kde.cpp
View file @
262b0474
...
...
@@ -2,7 +2,7 @@
* kde.cpp : KDE plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: kde.cpp,v 1.1
3 2003/12/04 16:02:54 sam
Exp $
* $Id: kde.cpp,v 1.1
4 2004/01/25 15:42:57 kuehne
Exp $
*
* Authors: Andres Krapf <dae@chez.com> Sun Mar 25 2001
*
...
...
@@ -105,10 +105,10 @@ void run(intf_thread_t *p_intf)
{
p_intf
->
p_sys
->
p_about
=
new
KAboutData
(
"kvlc"
,
I18N_NOOP
(
"Kvlc"
),
VERSION
,
_
(
"This is the V
ideoLAN Client
, a DVD, MPEG and DivX player. It can "
_
(
"This is the V
LC media player
, a DVD, MPEG and DivX player. It can "
"play MPEG and MPEG2 files from a file or from a network source."
),
KAboutData
::
License_GPL
,
_
(
"(c) 1996-200
3
the VideoLAN team"
),
_
(
"(c) 1996-200
4
the VideoLAN team"
),
0
,
0
,
""
);
p_intf
->
p_sys
->
p_about
->
addAuthor
(
"the VideoLAN team"
,
0
,
...
...
modules/gui/kde/net.cpp
View file @
262b0474
...
...
@@ -28,7 +28,7 @@ KNetDialog::KNetDialog( QWidget *parent, const char *name )
QHBox
*
layout
=
new
QHBox
(
pageVBox
);
layout
->
setSpacing
(
5
);
fButtonGroup
=
new
QVButtonGroup
(
"Protocol"
,
layout
);
fButtonGroup
=
new
QVButtonGroup
(
_
(
"Protocol"
)
,
layout
);
fTSButton
=
new
QRadioButton
(
"TS"
,
fButtonGroup
);
fTSButton
->
setChecked
(
true
);
fRTPButton
=
new
QRadioButton
(
"RTP"
,
fButtonGroup
);
...
...
@@ -36,13 +36,13 @@ KNetDialog::KNetDialog( QWidget *parent, const char *name )
fHTTPButton
=
new
QRadioButton
(
"HTTP"
,
fButtonGroup
);
fHTTPButton
->
setEnabled
(
false
);
QVGroupBox
*
serverVBox
=
new
QVGroupBox
(
"Starting position"
,
layout
);
QVGroupBox
*
serverVBox
=
new
QVGroupBox
(
_
(
"Starting position"
)
,
layout
);
QHBox
*
titleHBox
=
new
QHBox
(
serverVBox
);
new
QLabel
(
"Address "
,
titleHBox
);
new
QLabel
(
_
(
"Address "
)
,
titleHBox
);
fAddress
=
new
KLineEdit
(
"vls"
,
titleHBox
);
QHBox
*
portHBox
=
new
QHBox
(
serverVBox
);
new
QLabel
(
"Port "
,
portHBox
);
new
QLabel
(
_
(
"Port "
)
,
portHBox
);
fPort
=
new
QSpinBox
(
0
,
65535
,
1
,
portHBox
);
}
...
...
modules/gui/kde/preferences.cpp
View file @
262b0474
...
...
@@ -2,7 +2,7 @@
* preferences.cpp: preferences window for the kde gui
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: preferences.cpp,v 1.1
7 2003/07/04 16:35:20 sam
Exp $
* $Id: preferences.cpp,v 1.1
8 2004/01/25 15:42:57 kuehne
Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
*
...
...
@@ -53,7 +53,7 @@
KPreferences
::
KPreferences
(
intf_thread_t
*
p_intf
,
const
char
*
psz_module_name
,
QWidget
*
parent
,
const
QString
&
caption
)
:
KDialogBase
(
TreeList
,
caption
,
Ok
|
Apply
|
Cancel
|
User1
,
Ok
,
parent
,
"vlc preferences"
,
true
,
false
,
i18n
(
"&Save"
)
)
_
(
"vlc preferences"
),
true
,
false
,
i18n
(
_
(
"&Save"
)
)
)
{
module_t
*
p_parser
=
NULL
;
vlc_list_t
*
p_list
;
...
...
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