Commit dff2e609 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: add a bunch of virtual for destructors

parent f0bde3b9
...@@ -40,7 +40,7 @@ private: ...@@ -40,7 +40,7 @@ private:
public: public:
QVLCVariable (vlc_object_t *, const char *, int, bool); QVLCVariable (vlc_object_t *, const char *, int, bool);
~QVLCVariable (void); virtual ~QVLCVariable (void);
}; };
class QVLCPointer : public QVLCVariable class QVLCPointer : public QVLCVariable
......
...@@ -53,7 +53,7 @@ Q_OBJECT ...@@ -53,7 +53,7 @@ Q_OBJECT
public: public:
explicit EPGView( QWidget *parent = 0 ); explicit EPGView( QWidget *parent = 0 );
~EPGView(); virtual ~EPGView();
void setScale( double scaleFactor ); void setScale( double scaleFactor );
......
...@@ -172,7 +172,7 @@ class PlMimeData : public QMimeData ...@@ -172,7 +172,7 @@ class PlMimeData : public QMimeData
public: public:
PlMimeData() {} PlMimeData() {}
~PlMimeData(); virtual ~PlMimeData();
void appendItem( input_item_t *p_item ); void appendItem( input_item_t *p_item );
QList<input_item_t*> inputItems() const; QList<input_item_t*> inputItems() const;
QStringList formats () const; QStringList formats () const;
......
...@@ -40,7 +40,7 @@ class DialogHandler : public QObject ...@@ -40,7 +40,7 @@ class DialogHandler : public QObject
public: public:
DialogHandler (intf_thread_t *, QObject *parent); DialogHandler (intf_thread_t *, QObject *parent);
~DialogHandler (void); virtual ~DialogHandler (void);
private: private:
intf_thread_t *intf; intf_thread_t *intf;
......
...@@ -43,7 +43,7 @@ class FingerprintDialog : public QDialog ...@@ -43,7 +43,7 @@ class FingerprintDialog : public QDialog
public: public:
FingerprintDialog( QWidget *parent, intf_thread_t *p_intf, FingerprintDialog( QWidget *parent, intf_thread_t *p_intf,
input_item_t *p_item ); input_item_t *p_item );
~FingerprintDialog(); virtual ~FingerprintDialog();
private: private:
Ui::FingerprintDialog *ui; Ui::FingerprintDialog *ui;
......
...@@ -47,7 +47,7 @@ public: ...@@ -47,7 +47,7 @@ public:
{ {
addon_entry_Hold( p_entry ); addon_entry_Hold( p_entry );
} }
~AddonManagerEvent() virtual ~AddonManagerEvent()
{ {
addon_entry_Release( p_entry ); addon_entry_Release( p_entry );
} }
...@@ -65,7 +65,7 @@ class AddonsManager : public QObject, public Singleton<AddonsManager> ...@@ -65,7 +65,7 @@ class AddonsManager : public QObject, public Singleton<AddonsManager>
public: public:
AddonsManager( intf_thread_t * ); AddonsManager( intf_thread_t * );
~AddonsManager(); virtual ~AddonsManager();
static void addonsEventsCallback( const vlc_event_t *, void * ); static void addonsEventsCallback( const vlc_event_t *, void * );
void customEvent( QEvent * ); void customEvent( QEvent * );
void install( QByteArray id ); void install( QByteArray id );
......
...@@ -56,7 +56,7 @@ class SeekSlider : public QSlider ...@@ -56,7 +56,7 @@ class SeekSlider : public QSlider
Q_PROPERTY(qreal handleOpacity READ handleOpacity WRITE setHandleOpacity) Q_PROPERTY(qreal handleOpacity READ handleOpacity WRITE setHandleOpacity)
public: public:
SeekSlider( Qt::Orientation q, QWidget *_parent = 0, bool _classic = false ); SeekSlider( Qt::Orientation q, QWidget *_parent = 0, bool _classic = false );
~SeekSlider(); virtual ~SeekSlider();
void setChapters( SeekPoints * ); void setChapters( SeekPoints * );
protected: protected:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment