]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/podcast_configuration.hpp
podcast: save configuration when adding/removing podcast from the dialog.
[vlc] / modules / gui / qt4 / dialogs / podcast_configuration.hpp
index 31ca97d1e699068911eb209cb4ab722b816eedf6..2779c564ea97b052fdc4806ad7a579b635de9fe6 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _PODCAST_CONFIGURATION_DIALOG_H_
-#define _PODCAST_CONFIGURATION_DIALOG_H_
+#ifndef QVLC_PODCAST_CONFIGURATION_DIALOG_H_
+#define QVLC_PODCAST_CONFIGURATION_DIALOG_H_ 1
 
 #include "util/qvlcframe.hpp"
 #include "ui/podcast_configuration.h"
 
-class PodcastConfigDialog : public QVLCFrame
+class PodcastConfigDialog : public QVLCDialog
 {
     Q_OBJECT;
 public:
     static PodcastConfigDialog * getInstance( intf_thread_t *p_intf )
     {
         if( !instance )
-            instance = new PodcastConfigDialog( p_intf );
+            instance = new PodcastConfigDialog( (QWidget *)p_intf->p_sys->p_mi,
+                                                p_intf );
         return instance;
     }
     virtual ~PodcastConfigDialog();
 
 private:
-    PodcastConfigDialog( intf_thread_t * );
+    PodcastConfigDialog( QWidget *, intf_thread_t * );
     static PodcastConfigDialog *instance;
     Ui::PodcastConfiguration ui;
 public slots: