SLOT(menuAction( QObject *)) );
menusUpdateMapper = new QSignalMapper();
- connect( menusMapper, SIGNAL( mapped(QObject *) ), this,
+ connect( menusUpdateMapper, SIGNAL( mapped(QObject *) ), this,
SLOT(menuUpdateAction( QObject *)) );
}
{
if( event->type() == DialogEvent_Type )
{
- DialogEvent *de = dynamic_cast<DialogEvent*>(event);
+ DialogEvent *de = static_cast<DialogEvent*>(event);
switch( de->i_dialog )
{
case INTF_DIALOG_FILE:
doInteraction( de->p_arg ); break;
case INTF_DIALOG_VLM:
case INTF_DIALOG_BOOKMARKS:
+ bookmarksDialog(); break;
case INTF_DIALOG_WIZARD:
default:
msg_Warn( p_intf, "unimplemented dialog\n" );
}
}
+void DialogsProvider::quit()
+{
+ p_intf->b_die = VLC_TRUE;
+ QApplication::quit();
+}
+
void DialogsProvider::streaminfoDialog()
{
StreamInfoDialog::getInstance( p_intf, true )->toggleVisible();
void DialogsProvider::simpleOpenDialog()
{
}
+void DialogsProvider::bookmarksDialog()
+{
+}
+
+
void DialogsProvider::popupMenu( int i_dialog )
{