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 ) ) );
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 )
{
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 );
+ 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;
{
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
#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>
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;
}
#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>
#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>
#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>
{
/* Variables initialisation */
// need_components_update = false;
- bgWidget = NULL;
- videoWidget = NULL;
+ bgWidget = NULL;
+ videoWidget = NULL;
playlistWidget = NULL;
sysTray = NULL;
videoIsActive = false;
#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>
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)
{
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;
}
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