Changeset e4bbf1c43df3c160b45b8b8d65261d4708f2e147

Show
Ignore:
Timestamp:
02/09/07 18:17:36 (1 year ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1188749856 +0000
git-parent:

[fe92f9c92dc93bfc5a6948832246788e3010ace0]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1188749856 +0000
Message:

Add a podcast configuration dialog to the Qt4 interface/dialogs provider.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/Modules.am

    ra7ff60b re4bbf1c  
    3131        dialogs/gototime.moc.cpp \ 
    3232        dialogs/open.moc.cpp \ 
     33        dialogs/podcast_configuration.moc.cpp \ 
    3334        components/extended_panels.moc.cpp \ 
    3435        components/infopanels.moc.cpp \ 
     
    5152        ui/open_capture.h \ 
    5253        ui/open.h \ 
     54        ui/podcast_configuration.h \ 
    5355        ui/sprefs_audio.h \ 
    5456        ui/sprefs_input.h \ 
     
    111113        dialogs/gototime.cpp \ 
    112114        dialogs/open.cpp \ 
     115        dialogs/podcast_configuration.cpp \ 
    113116        components/extended_panels.cpp \ 
    114117        components/infopanels.cpp \ 
     
    142145    dialogs/gototime.hpp \ 
    143146    dialogs/open.hpp \ 
     147    dialogs/podcast_configuration.hpp \ 
    144148    components/extended_panels.hpp \ 
    145149    components/infopanels.hpp \ 
     
    166170    ui/open_capture.ui \ 
    167171    ui/open.ui \ 
     172    ui/podcast_configuration.ui \ 
    168173    ui/sprefs_audio.ui \ 
    169174    ui/sprefs_input.ui \ 
  • modules/gui/qt4/dialogs_provider.cpp

    r324f8cb re4bbf1c  
    4444#include "dialogs/help.hpp" 
    4545#include "dialogs/gototime.hpp" 
     46#include "dialogs/podcast_configuration.hpp" 
    4647 
    4748DialogsProvider* DialogsProvider::instance = NULL; 
     
    503504} 
    504505 
     506void DialogsProvider::podcastConfigureDialog() 
     507{ 
     508    PodcastConfigurationDialog c( p_intf ); 
     509    c.exec(); 
     510} 
     511 
    505512void DialogsProvider::switchToSkins() 
    506513{ 
  • modules/gui/qt4/dialogs_provider.hpp

    r0e4fa2d re4bbf1c  
    167167    void savePlaylist(); 
    168168 
     169    void podcastConfigureDialog(); 
     170 
    169171    void switchToSkins(); 
    170172    void quit(); 
  • modules/gui/qt4/menus.cpp

    r8fd71e1 re4bbf1c  
    435435                                              module_GetObjName( p_parser ) ); 
    436436        menu->addAction( a ); 
     437 
     438        if( !strcmp( p_parser->psz_object_name, "podcast" ) ) 
     439        { 
     440            QAction *b = new QAction( qfu( "Configure podcasts..." ), menu ); 
     441            //b->setEnabled( a->isChecked() ); 
     442            menu->addAction( b ); 
     443            CONNECT( b, triggered(), THEDP, podcastConfigureDialog() ); 
     444        } 
    437445    } 
    438446    vlc_list_release( p_list );