qt5base-lts/examples/widgets/itemviews/spreadsheet/printview.h
Kai Köhne 65d9593413 Examples: Use signals, slots instead of Q_SIGNALS, Q_SLOTS
Pick-to: 6.4
Change-Id: I79a352d1bac11edf2d2b0443d2f1bb202fb4e254
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-07-21 11:24:36 +02:00

26 lines
383 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef PRINTVIEW_H
#define PRINTVIEW_H
#include <QTableView>
QT_BEGIN_NAMESPACE
class QPrinter;
QT_END_NAMESPACE
class PrintView : public QTableView
{
Q_OBJECT
public:
PrintView();
public slots:
void print(QPrinter *printer);
};
#endif // PRINTVIEW_H