Commit 03e68d4f authored by Laurent Montel's avatar Laurent Montel 😁

Ise nullptr

parent 81934884
......@@ -36,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class KInfoListWidget : public KCModule
{
public:
KInfoListWidget(const QString &_title, QWidget *parent, bool _getlistbox (QTreeWidget*) = NULL);
KInfoListWidget(const QString &_title, QWidget *parent, bool _getlistbox (QTreeWidget*) = nullptr);
void load() Q_DECL_OVERRIDE;
QString quickHelp() const Q_DECL_OVERRIDE;
......
......@@ -34,7 +34,7 @@ class QWidget;
class Chart : public QWidget {
public:
Chart(QWidget* parent = NULL);
Chart(QWidget* parent = nullptr);
void setMemoryInfos(t_memsize* memoryInfos);
void setFreeMemoryLabel(QLabel* freeMemoryLabel);
......@@ -57,7 +57,7 @@ public:
/**
* Initialize the list view item and task.
*/
ChartWidget(const QString& title, const QString& hint, Chart* chartImplementation, QWidget* parent = NULL);
ChartWidget(const QString& title, const QString& hint, Chart* chartImplementation, QWidget* parent = nullptr);
void setMemoryInfos(t_memsize* memoryInfos);
void refresh();
......
......@@ -39,7 +39,7 @@ class KCMMemory : public KCModule {
Q_OBJECT
public:
explicit KCMMemory(QWidget *parent = NULL, const QVariantList &list = QVariantList());
explicit KCMMemory(QWidget *parent = nullptr, const QVariantList &list = QVariantList());
~KCMMemory();
QString quickHelp() const Q_DECL_OVERRIDE;
......
......@@ -35,7 +35,7 @@ public:
/**
* Initialize the list view item and task.
*/
PhysicalMemoryChart(QWidget* parent = NULL);
PhysicalMemoryChart(QWidget* parent = nullptr);
protected:
......
......@@ -35,7 +35,7 @@ public:
/**
* Initialize the list view item and task.
*/
SwapMemoryChart(QWidget* parent = NULL);
SwapMemoryChart(QWidget* parent = nullptr);
protected:
......
......@@ -35,7 +35,7 @@ public:
/**
* Initialize the list view item and task.
*/
TotalMemoryChart(QWidget* parent = NULL);
TotalMemoryChart(QWidget* parent = nullptr);
protected:
......
......@@ -31,7 +31,7 @@ class KCMPci : public KCModule {
Q_OBJECT
public:
explicit KCMPci(QWidget *parent = NULL, const QVariantList &list = QVariantList());
explicit KCMPci(QWidget *parent = nullptr, const QVariantList &list = QVariantList());
~KCMPci();
void load() Q_DECL_OVERRIDE;
......
......@@ -24,7 +24,7 @@ Q_OBJECT
public:
explicit USBViewer(QWidget *parent = 0L, const QVariantList &list=QVariantList());
explicit USBViewer(QWidget *parent = nullptr, const QVariantList &list=QVariantList());
void load() Q_DECL_OVERRIDE;
......
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