diff options
Diffstat (limited to 'examples/widgets/richtext/textedit/textedit.h')
-rw-r--r-- | examples/widgets/richtext/textedit/textedit.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/widgets/richtext/textedit/textedit.h b/examples/widgets/richtext/textedit/textedit.h index debc401150..6b95891d31 100644 --- a/examples/widgets/richtext/textedit/textedit.h +++ b/examples/widgets/richtext/textedit/textedit.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the demonstration applications of the Qt Toolkit. @@ -52,8 +52,6 @@ #define TEXTEDIT_H #include <QMainWindow> -#include <QMap> -#include <QPointer> QT_BEGIN_NAMESPACE class QAction; @@ -106,7 +104,6 @@ private slots: void clipboardDataChanged(); void about(); - void printPreview(QPrinter *); private: void setupFileActions(); @@ -146,7 +143,6 @@ private: QFontComboBox *comboFont; QComboBox *comboSize; - QToolBar *tb; QString fileName; QTextEdit *textEdit; }; |