diff --git a/include/lrpreviewreportwidget.h b/include/lrpreviewreportwidget.h index 94e9936..220843b 100644 --- a/include/lrpreviewreportwidget.h +++ b/include/lrpreviewreportwidget.h @@ -21,12 +21,9 @@ class LIMEREPORT_EXPORT PreviewReportWidget : public QWidget friend class PreviewReportWidgetPrivate; public: explicit PreviewReportWidget(ReportEnginePrivate *report, QWidget *parent = 0); - ~PreviewReportWidget(); - void initPreview(); - void setErrorsMesagesVisible(bool visible); - void setErrorMessages(const QStringList &value); - void refreshPages(); + ~PreviewReportWidget(); public slots: + void refreshPages(); void slotZoomIn(); void slotZoomOut(); @@ -44,6 +41,10 @@ signals: private slots: void slotSliderMoved(int value); void reportEngineDestroyed(QObject* object); +private: + void initPreview(); + void setErrorsMesagesVisible(bool visible); + void setErrorMessages(const QStringList &value); private: Ui::PreviewReportWidget *ui; PreviewReportWidgetPrivate* d_ptr; diff --git a/limereport/limereport.pro b/limereport/limereport.pro index cd9060e..7fad193 100644 --- a/limereport/limereport.pro +++ b/limereport/limereport.pro @@ -20,7 +20,8 @@ EXTRA_FILES += \ $$PWD/lrdatasourcemanagerintf.h \ $$PWD/lrreportengine.h \ $$PWD/lrscriptenginemanagerintf.h \ - $$PWD/lrcallbackdatasourceintf.h + $$PWD/lrcallbackdatasourceintf.h \ + $$PWD/lrpreviewreportwidget.h include(limereport.pri)