[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdenlive] src: Use nullptr
From: Montel Laurent <null () kde ! org>
Date: 2017-05-11 5:33:24
Message-ID: E1d8gj6-0002BA-Pm () code ! kde ! org
[Download RAW message or body]
Git commit 11726f87648f35dc3eedd3b9bd6f94f93d733e7d by Montel Laurent.
Committed on 11/05/2017 at 05:33.
Pushed by mlaurent into branch 'master'.
Use nullptr
M +3 -3 src/audiospectrum/audiographspectrum.h
M +1 -1 src/bin/projectfolder.h
M +1 -1 src/effectstack/parameterplotter.h
M +1 -1 src/profiles/tree/profiletreemodel.hpp
M +1 -1 src/stopmotion/capturehandler.h
M +1 -1 src/titler/KoSliderCombo.h
https://commits.kde.org/kdenlive/11726f87648f35dc3eedd3b9bd6f94f93d733e7d
diff --git a/src/audiospectrum/audiographspectrum.h b/src/audiospectrum/audiographspectrum.h
index 25a3ec082..ee9b6d698 100644
--- a/src/audiospectrum/audiographspectrum.h
+++ b/src/audiospectrum/audiographspectrum.h
@@ -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;
diff --git a/src/bin/projectfolder.h b/src/bin/projectfolder.h
index 6106c3891..77e4a49a1 100644
--- a/src/bin/projectfolder.h
+++ b/src/bin/projectfolder.h
@@ -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);
diff --git a/src/effectstack/parameterplotter.h b/src/effectstack/parameterplotter.h
index 8eccb883e..442d5d0be 100644
--- a/src/effectstack/parameterplotter.h
+++ b/src/effectstack/parameterplotter.h
@@ -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);
diff --git a/src/profiles/tree/profiletreemodel.hpp b/src/profiles/tree/profiletreemodel.hpp
index be255b3a6..c0312e6d4 100644
--- a/src/profiles/tree/profiletreemodel.hpp
+++ b/src/profiles/tree/profiletreemodel.hpp
@@ -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;
diff --git a/src/stopmotion/capturehandler.h b/src/stopmotion/capturehandler.h
index 782270848..4d6c74c3f 100644
--- a/src/stopmotion/capturehandler.h
+++ b/src/stopmotion/capturehandler.h
@@ -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;
diff --git a/src/titler/KoSliderCombo.h b/src/titler/KoSliderCombo.h
index dea278327..ea985afd2 100644
--- a/src/titler/KoSliderCombo.h
+++ b/src/titler/KoSliderCombo.h
@@ -48,7 +48,7 @@ public:
*
* @param parent parent QWidget
*/
- explicit KoSliderCombo(QWidget *parent = 0);
+ explicit KoSliderCombo(QWidget *parent = nullptr);
/**
* Destructor
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic