]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/gototime.hpp
Qt: remove Preferences singleton. Simplify and Close #2552 and #2551
[vlc] / modules / gui / qt4 / dialogs / gototime.hpp
index 07f95a96a2c990e1fe289f0c799c114ad3ef4d90..54698f6e268ff622645335a96e0769e6783a28ec 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _GOTOTIME_DIALOG_H_
-#define _GOTOTIME_DIALOG_H_
+#ifndef QVLC_GOTOTIME_DIALOG_H_
+#define QVLC_GOTOTIME_DIALOG_H_ 1
 
 #include "util/qvlcframe.hpp"
 
 class QTimeEdit;
 
-class GotoTimeDialog : public QVLCFrame
+class GotoTimeDialog : public QVLCDialog
 {
     Q_OBJECT;
 public:
     static GotoTimeDialog * getInstance( intf_thread_t *p_intf )
     {
         if( !instance)
-            instance = new GotoTimeDialog( p_intf);
+            instance = new GotoTimeDialog( (QWidget *)p_intf->p_sys->p_mi, p_intf );
         return instance;
     }
     virtual ~GotoTimeDialog();
 
 private:
-    GotoTimeDialog( intf_thread_t *);
+    GotoTimeDialog( QWidget *, intf_thread_t * );
     static GotoTimeDialog *instance;
     QTimeEdit *timeEdit;
 private slots: