17 #ifndef KDREPORTSPREVIEWDIALOG_H
18 #define KDREPORTSPREVIEWDIALOG_H
28 class PreviewDialogPrivate;
53 void setQuickPrinterName(
const QString &printerName);
61 void setDefaultSaveDirectory(
const QString &path);
71 void setDirectoryBrowsingEnabled(
bool allowed);
76 bool isSelected(
int pageNumber)
const;
85 void setPageSizeChangeAllowed(
bool b);
92 void setShowTableSettingsDialog(
bool b);
98 void setWidthForEndlessPrinter(qreal widthMM);
132 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
138 void pageSizeChanged(
const QPageSize &pageSize);
151 void accept()
override;
153 void reject()
override;
156 std::unique_ptr<PreviewDialogPrivate> d;