☰
Debian Codegraph
@
6.11.2+dfsg-5
6.10.2+dfsg-16
6.10.2+dfsg-15
/
/
src
/
printsupport
/
doc
/
snippets
/
code
/
src_gui_dialogs_qabstractprintdialog.cpp
☽
☼
src/printsupport/doc/snippets/code/src_gui_dialogs_qabstractprintdialog.cpp
code
plain
raw
BSD-3-clause
2016-2022 The Qt Company Ltd.
debian/copyright
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
//! [0]
5
QPrintDialog printDialog(printer, parent);
6
if (printDialog.exec() == QDialog::Accepted) {
7
// print ...
8
}
9
//! [0]