/*****************************************************************************
* qt4.cpp : QT4 interface
****************************************************************************
- * Copyright (C) 2006 the VideoLAN team
+ * Copyright (C) 2006-2007 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#include <QApplication>
/*****************************************************************************
* Module descriptor
*****************************************************************************/
+#define ADVANCED_PREFS_TEXT N_("Show advanced prefs over simple")
+#define ADVANCED_PREFS_LONGTEXT N_("Show advanced preferences and not simple" \
+ "preferences when opening the preferences " \
+ "dialog.")
+
+#define SYSTRAY_TEXT N_("Show a systray icon to control VLC")
+#define SYSTRAY_LONGTEXT N_("Show in the taskbar, a systray icon" \
+ "in order to control VLC media player" \
+ "for basic actions")
+
+#define MINIMIZED_TEXT N_("Start VLC only with a systray icon")
+#define MINIMIZED_LONGTEXT N_("When you launch VLC with that option" \
+ "VLC will start just with an icon in" \
+ "your taskbar")
+
+#define TITLE_TEXT N_("Show playing item name in window title")
+#define TITLE_LONGTEXT N_("Show the name of the song or video in the " \
+ "controler window title")
+
+#define FILEDIALOG_PATH_TEXT N_("path to use in file dialog")
+#define FILEDIALOG_PATH_LONGTEXT N_("path to use in file dialog")
+
+#define ADVANCED_OPTIONS_TEXT N_("Advanced options")
+#define ADVANCED_OPTIONS_LONGTEXT N_("Activate by default all the" \
+ "Advanced options for geeks")
+
vlc_module_begin();
set_shortname( (char *)"Qt" );
set_description( (char*)_("Qt interface") );
add_submodule();
set_description( "Dialogs provider" );
set_capability( "dialogs provider", 51 );
- add_bool( "qt-always-video", VLC_FALSE, NULL, "FIXME", "FIXME", VLC_TRUE );
+ add_bool( "qt-always-video", VLC_FALSE, NULL, "FIXME", "FIXME",
+ VLC_TRUE );
+ add_bool( "qt-advanced-pref", VLC_FALSE, NULL, ADVANCED_PREFS_TEXT,
+ ADVANCED_PREFS_LONGTEXT, VLC_FALSE );
+ add_bool( "qt-system-tray", VLC_TRUE, NULL, SYSTRAY_TEXT,
+ SYSTRAY_LONGTEXT, VLC_FALSE);
+ add_bool( "qt-start-mininimized", VLC_FALSE, NULL, MINIMIZED_TEXT,
+ MINIMIZED_LONGTEXT, VLC_TRUE);
+ add_bool( "qt-name-in-title", VLC_TRUE, NULL, TITLE_TEXT,
+ TITLE_LONGTEXT, VLC_FALSE );
+ add_string( "qt-filedialog-path", NULL, NULL, FILEDIALOG_PATH_TEXT,
+ FILEDIALOG_PATH_LONGTEXT, VLC_TRUE);
+ change_autosave();
+ change_internal();
+ add_bool( "qt-adv-options", VLC_FALSE, NULL, ADVANCED_OPTIONS_TEXT,
+ ADVANCED_OPTIONS_LONGTEXT, VLC_TRUE );
set_callbacks( OpenDialogs, Close );
vlc_module_end();