Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
683bc3d4
Commit
683bc3d4
authored
Feb 10, 2008
by
Jean-Baptiste Kempf
Browse files
Qt4 - Remove trailing spaces...
parent
a20dba71
Changes
13
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/playlist/playlist.cpp
View file @
683bc3d4
...
...
@@ -72,7 +72,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
CONNECT
(
selector
,
activated
(
int
),
rightPanel
,
setRoot
(
int
)
);
/* Connect the activated() to the rootChanged() signal
This will be used by StandardPLPanel to setCurrentRootId, that will
This will be used by StandardPLPanel to setCurrentRootId, that will
change the label of the addButton */
connect
(
selector
,
SIGNAL
(
activated
(
int
)
),
this
,
SIGNAL
(
rootChanged
(
int
)
)
);
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
683bc3d4
...
...
@@ -325,7 +325,7 @@ void StandardPLPanel::removeItem( int i_id )
model
->
removeItem
(
i_id
);
}
/* Delete and Suppr key remove the selection
/* Delete and Suppr key remove the selection
FilterKey function and code function */
void
StandardPLPanel
::
keyPressEvent
(
QKeyEvent
*
e
)
{
...
...
modules/gui/qt4/dialogs/errors.cpp
View file @
683bc3d4
...
...
@@ -36,8 +36,8 @@
ErrorsDialog
*
ErrorsDialog
::
instance
=
NULL
;
ErrorsDialog
::
ErrorsDialog
(
QWidget
*
parent
,
intf_thread_t
*
_p_intf
)
:
QVLCDialog
(
parent
,
_p_intf
)
ErrorsDialog
::
ErrorsDialog
(
QWidget
*
parent
,
intf_thread_t
*
_p_intf
)
:
QVLCDialog
(
parent
,
_p_intf
)
{
setWindowTitle
(
qtr
(
"Errors"
)
);
resize
(
500
,
300
);
...
...
modules/gui/qt4/dialogs/help.cpp
View file @
683bc3d4
...
...
@@ -125,7 +125,7 @@ AboutDialog::AboutDialog( QWidget *parent, intf_thread_t *_p_intf)
+
qtr
(
"Based on SVN revision: "
)
+
qfu
(
VLC_Changeset
()
)
+
".
\n
"
+
qtr
(
"You are using the Qt4 Interface.
\n\n
"
)
+
qtr
(
"Copyright (c) "
COPYRIGHT_YEARS
" by the VideoLAN Team.
\n
"
)
+
"vlc@videolan.org, http://www.videolan.org"
);
+
"vlc@videolan.org, http://www.videolan.org"
);
infoLabel
->
setWordWrap
(
infoLabel
);
QLabel
*
iconVLC2
=
new
QLabel
;
...
...
@@ -288,7 +288,7 @@ void UpdateDialog::updateNotify( bool b_result )
{
b_checked
=
true
;
updateButton
->
setText
(
"Download"
);
updateLabel
->
setText
(
qtr
(
"There is a new version of vlc :
\n
"
)
updateLabel
->
setText
(
qtr
(
"There is a new version of vlc :
\n
"
)
+
qfu
(
p_update
->
release
.
psz_desc
)
);
}
else
...
...
modules/gui/qt4/dialogs/interaction.hpp
View file @
683bc3d4
...
...
@@ -24,8 +24,8 @@
#ifndef _INTERACTION_H_
#define _INTERACTION_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include
<vlc/vlc.h>
...
...
modules/gui/qt4/dialogs/podcast_configuration.hpp
View file @
683bc3d4
...
...
@@ -34,7 +34,7 @@ public:
static
PodcastConfigDialog
*
getInstance
(
intf_thread_t
*
p_intf
)
{
if
(
!
instance
)
instance
=
new
PodcastConfigDialog
(
(
QWidget
*
)
p_intf
->
p_sys
->
p_mi
,
instance
=
new
PodcastConfigDialog
(
(
QWidget
*
)
p_intf
->
p_sys
->
p_mi
,
p_intf
);
return
instance
;
}
...
...
modules/gui/qt4/dialogs/sout.hpp
View file @
683bc3d4
...
...
@@ -24,8 +24,8 @@
#ifndef _SOUT_DIALOG_H_
#define _SOUT_DIALOG_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include
<vlc/vlc.h>
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
683bc3d4
...
...
@@ -25,8 +25,8 @@
#ifndef _DIALOGS_PROVIDER_H_
#define _DIALOGS_PROVIDER_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include
<assert.h>
...
...
modules/gui/qt4/input_manager.hpp
View file @
683bc3d4
...
...
@@ -24,8 +24,8 @@
#ifndef _INPUT_MANAGER_H_
#define _INPUT_MANAGER_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include
<vlc/vlc.h>
...
...
modules/gui/qt4/main_interface.cpp
View file @
683bc3d4
...
...
@@ -93,8 +93,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
{
/* Variables initialisation */
// need_components_update = false;
bgWidget
=
NULL
;
videoWidget
=
NULL
;
bgWidget
=
NULL
;
videoWidget
=
NULL
;
playlistWidget
=
NULL
;
sysTray
=
NULL
;
videoIsActive
=
false
;
...
...
modules/gui/qt4/qt4.hpp
View file @
683bc3d4
...
...
@@ -25,8 +25,8 @@
#ifndef _QVLC_H_
#define _QVLC_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include
<vlc/vlc.h>
...
...
modules/gui/qt4/util/registry.cpp
View file @
683bc3d4
...
...
@@ -187,22 +187,22 @@ double QVLCRegistry::ReadRegistryDouble( const char *path, const char *valueName
return
default_value
;
}
int
QVLCRegistry
::
DeleteValue
(
char
*
path
,
char
*
valueName
)
int
QVLCRegistry
::
DeleteValue
(
char
*
path
,
char
*
valueName
)
{
HKEY
keyHandle
;
HKEY
keyHandle
;
long
result
;
if
(
(
result
=
RegOpenKeyEx
(
m_RootKey
,
path
,
0
,
KEY_WRITE
,
&
keyHandle
))
==
ERROR_SUCCESS
)
{
result
=
RegDeleteValue
(
keyHandle
,
valueName
);
RegCloseKey
(
keyHandle
);
}
//ERROR_SUCCESS = ok everything else you have a problem*g*,
//ERROR_SUCCESS = ok everything else you have a problem*g*,
return
result
;
}
long
QVLCRegistry
::
DeleteKey
(
char
*
path
,
char
*
keyName
)
long
QVLCRegistry
::
DeleteKey
(
char
*
path
,
char
*
keyName
)
{
HKEY
keyHandle
;
HKEY
keyHandle
;
long
result
;
if
(
(
result
=
RegOpenKeyEx
(
m_RootKey
,
path
,
0
,
KEY_WRITE
,
&
keyHandle
))
==
ERROR_SUCCESS
)
{
...
...
@@ -212,7 +212,7 @@ long QVLCRegistry::DeleteKey( char *path, char *keyName )
result
=
RegDeleteKey
(
keyHandle
,
keyName
);
RegCloseKey
(
keyHandle
);
}
//ERROR_SUCCESS = ok everything else you have a problem*g*,
//ERROR_SUCCESS = ok everything else you have a problem*g*,
return
result
;
}
...
...
modules/gui/qt4/util/registry.hpp
View file @
683bc3d4
...
...
@@ -45,7 +45,7 @@ public:
bool
RegistryKeyExists
(
const
char
*
path
);
bool
RegistryValueExists
(
const
char
*
path
,
const
char
*
valueName
);
int
DeleteValue
(
char
*
path
,
char
*
valueName
);
long
DeleteKey
(
char
*
path
,
char
*
keyName
);
long
DeleteKey
(
char
*
path
,
char
*
keyName
);
};
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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