diff options
Diffstat (limited to 'examples/assistant/simpletextviewer/textedit.h')
-rw-r--r-- | examples/assistant/simpletextviewer/textedit.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/assistant/simpletextviewer/textedit.h b/examples/assistant/simpletextviewer/textedit.h index 70bcf75af..b1cb243fb 100644 --- a/examples/assistant/simpletextviewer/textedit.h +++ b/examples/assistant/simpletextviewer/textedit.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -51,15 +51,15 @@ #ifndef TEXTEDIT_H #define TEXTEDIT_H -#include <QtCore/QUrl> -#include <QtWidgets/QTextEdit> +#include <QTextEdit> +#include <QUrl> class TextEdit : public QTextEdit { Q_OBJECT public: - TextEdit(QWidget *parent = 0); + TextEdit(QWidget *parent = nullptr); void setContents(const QString &fileName); private: |