Commit 11726f87 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr

parent 6435a4eb
......@@ -45,7 +45,7 @@ class EqualizerWidget : public QWidget
{
Q_OBJECT
public:
explicit EqualizerWidget(QWidget *parent = 0);
explicit EqualizerWidget(QWidget *parent = nullptr);
};
......@@ -53,7 +53,7 @@ class AudioGraphWidget : public QWidget
{
Q_OBJECT
public:
explicit AudioGraphWidget(QWidget *parent = 0);
explicit AudioGraphWidget(QWidget *parent = nullptr);
void drawBackground();
public slots:
......@@ -78,7 +78,7 @@ class AudioGraphSpectrum : public QWidget
{
Q_OBJECT
public:
AudioGraphSpectrum(MonitorManager *manager, QWidget *parent = 0);
AudioGraphSpectrum(MonitorManager *manager, QWidget *parent = nullptr);
virtual ~AudioGraphSpectrum();
private:
MonitorManager *m_manager;
......
......@@ -43,7 +43,7 @@ public:
* @param description element describing the folder and its children
* @param parent parent folder
*/
ProjectFolder(const QString &id, const QString &name, ProjectFolder *parent = 0);
ProjectFolder(const QString &id, const QString &name, ProjectFolder *parent = nullptr);
/** @brief Creates an empty root folder. */
explicit ProjectFolder(Bin *bin);
......
......@@ -26,7 +26,7 @@ class ParameterPlotter : public KPlotWidget
{
Q_OBJECT
public:
explicit ParameterPlotter(QWidget *parent = 0);
explicit ParameterPlotter(QWidget *parent = nullptr);
~ParameterPlotter() {}
void setMoveX(bool);
void setMoveY(bool);
......
......@@ -33,7 +33,7 @@ class ProfileTreeModel : public QAbstractItemModel
Q_OBJECT
public:
explicit ProfileTreeModel(QObject *parent = 0);
explicit ProfileTreeModel(QObject *parent = nullptr);
~ProfileTreeModel();
QVariant data(const QModelIndex &index, int role) const override;
......
......@@ -27,7 +27,7 @@ class CaptureHandler : public QObject
{
Q_OBJECT
public:
explicit CaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
explicit CaptureHandler(QVBoxLayout *lay, QWidget *parent = nullptr);
~CaptureHandler();
virtual void startPreview(int deviceId, int captureMode, bool audio = true) = 0;
virtual void stopPreview() = 0;
......
......@@ -48,7 +48,7 @@ public:
*
* @param parent parent QWidget
*/
explicit KoSliderCombo(QWidget *parent = 0);
explicit KoSliderCombo(QWidget *parent = nullptr);
/**
* Destructor
......
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