Commit 30850853 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use nullptr here

parent 2603049f
......@@ -49,7 +49,7 @@ class KAudiocdModule : public KCModule
public:
explicit KAudiocdModule(QWidget *parent=0, const QVariantList &args=QVariantList());
explicit KAudiocdModule(QWidget *parent=nullptr, const QVariantList &args=QVariantList());
~KAudiocdModule();
QString quickHelp() const override;
......
......@@ -31,7 +31,7 @@
class EncoderFLACConfig : public QWidget, public Ui::EncoderFLACConfig {
public:
explicit EncoderFLACConfig(QWidget *parent = 0) : QWidget( parent ) { setupUi( this ); }
explicit EncoderFLACConfig(QWidget *parent = nullptr) : QWidget( parent ) { setupUi( this ); }
};
/**
......@@ -45,11 +45,11 @@ public:
explicit EncoderFLAC(KIO::SlaveBase *slave);
~EncoderFLAC();
virtual QString type() const override { return QLatin1String( "FLAC" ); };
virtual QString type() const override { return QLatin1String( "FLAC" ); }
virtual bool init() override;
virtual void loadSettings() override;
virtual unsigned long size(long time_secs) const override;
virtual const char * fileType() const override { return "flac"; };
virtual const char * fileType() const override { return "flac"; }
virtual const char * mimeType() const override { return "audio/x-flac"; }
virtual void fillSongInfo( KCDDB::CDInfo info, int track, const QString &comment ) override;
virtual long readInit(long size) override;
......
......@@ -27,7 +27,7 @@
class EncoderLameConfig : public QWidget, public Ui::EncoderLameConfig
{
public:
EncoderLameConfig( QWidget *parent = 0 ) : QWidget( parent ) {
EncoderLameConfig( QWidget *parent = nullptr ) : QWidget( parent ) {
setupUi( this );
}
};
......
......@@ -28,7 +28,7 @@
class EncoderOpusConfig : public QWidget, public Ui::EncoderOpusConfig
{
public:
EncoderOpusConfig( QWidget *parent = 0 ) : QWidget( parent ) {
EncoderOpusConfig( QWidget *parent = nullptr ) : QWidget( parent ) {
setupUi( this );
}
};
......
......@@ -32,7 +32,7 @@
class EncoderVorbisConfig : public QWidget, public Ui::EncoderVorbisConfig
{
public:
EncoderVorbisConfig( QWidget *parent = 0 ) : QWidget( parent ) {
EncoderVorbisConfig( QWidget *parent = nullptr ) : QWidget( parent ) {
setupUi( this );
}
};
......
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