MCPcopy Create free account
hub / github.com/KDE/okular / FilePrinterPreview

Method FilePrinterPreview

part/fileprinterpreview.cpp:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118FilePrinterPreview::FilePrinterPreview(const QString &filename, QWidget *parent)
119 : QDialog(parent)
120 , d(new FilePrinterPreviewPrivate(this, filename))
121{
122 qCDebug(OkularUiDebug) << "kdeprint: creating preview dialog";
123
124 // Set up the dialog
125 setWindowTitle(i18n("Print Preview"));
126
127 connect(d->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
128
129 KWindowConfig::restoreWindowSize(windowHandle(), d->config->group(ConfigGroupKey()));
130}
131
132FilePrinterPreview::~FilePrinterPreview()
133{

Callers

nothing calls this directly

Calls 1

ConfigGroupKeyFunction · 0.85

Tested by

no test coverage detected