Modernize-use-nullptr refactors code

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2017-08-05 02:06:59 +00:00
parent 876d05a338
commit 9f9b127c04
187 changed files with 438 additions and 438 deletions

View File

@@ -37,7 +37,7 @@ class BorderTitleBlock : public QObject
Q_OBJECT
public:
BorderTitleBlock(QObject * = 0);
BorderTitleBlock(QObject * = nullptr);
virtual ~BorderTitleBlock();
private:
@@ -153,7 +153,7 @@ class BorderTitleBlock : public QObject
btb_folio_ = folio;
emit (titleBlockFolioChanged(folio));
}
void setFolioData(int, int, QString = NULL, const DiagramContext & = DiagramContext());
void setFolioData(int, int, QString = nullptr, const DiagramContext & = DiagramContext());
/// @param author the new value of the "File" field
void setMachine(const QString &machine) { btb_machine_ = machine; }
void setLocMach(const QString &locmach) { btb_locmach_ = locmach; }
@@ -180,7 +180,7 @@ class BorderTitleBlock : public QObject
public slots:
void titleBlockTemplateChanged(const QString &);
void titleBlockTemplateRemoved(const QString &, const TitleBlockTemplate * = 0);
void titleBlockTemplateRemoved(const QString &, const TitleBlockTemplate * = nullptr);
// methods to set display options
void displayTitleBlock(bool);