summaryrefslogtreecommitdiffstats
path: root/examples/xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xml')
-rw-r--r--examples/xml/dombookmarks/xbeltree.h6
-rw-r--r--examples/xml/rsslisting/rsslisting.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/xml/dombookmarks/xbeltree.h b/examples/xml/dombookmarks/xbeltree.h
index c58e1148ff..989841d339 100644
--- a/examples/xml/dombookmarks/xbeltree.h
+++ b/examples/xml/dombookmarks/xbeltree.h
@@ -60,7 +60,7 @@ class XbelTree : public QTreeWidget
Q_OBJECT
public:
- XbelTree(QWidget *parent = 0);
+ XbelTree(QWidget *parent = nullptr);
bool read(QIODevice *device);
bool write(QIODevice *device) const;
@@ -75,9 +75,9 @@ private slots:
private:
void parseFolderElement(const QDomElement &element,
- QTreeWidgetItem *parentItem = 0);
+ QTreeWidgetItem *parentItem = nullptr);
QTreeWidgetItem *createItem(const QDomElement &element,
- QTreeWidgetItem *parentItem = 0);
+ QTreeWidgetItem *parentItem = nullptr);
QDomDocument domDocument;
QIcon folderIcon;
diff --git a/examples/xml/rsslisting/rsslisting.h b/examples/xml/rsslisting/rsslisting.h
index ae428af751..9f4fb2e7df 100644
--- a/examples/xml/rsslisting/rsslisting.h
+++ b/examples/xml/rsslisting/rsslisting.h
@@ -70,7 +70,7 @@ class RSSListing : public QWidget
{
Q_OBJECT
public:
- RSSListing(QWidget *widget = 0);
+ RSSListing(QWidget *widget = nullptr);
public slots:
void fetch();