Commit fc3684fe authored by Laurent Montel's avatar Laurent Montel 😁

Astyle kdelibs

parent 1bca4c12
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "printpreviewdialogtest.h"
#include "../printpreviewdialog.h"
#include "../printpreviewpagewidget.h"
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "printpreviewpagewidgettest.h"
#include "../printpreviewpagewidget.h"
#include "../printpreviewpageviewer.h"
......@@ -50,7 +49,6 @@ void PrintPreviewPageWidgetTest::shouldHaveDefaultValue()
WebEngineViewer::PrintPreviewPageViewer *page = w.findChild<WebEngineViewer::PrintPreviewPageViewer *>(QStringLiteral("printpreviewpage"));
QVERIFY(page);
QHBoxLayout *hbox = w.findChild<QHBoxLayout *>(QStringLiteral("layoutcombobox"));
QVERIFY(hbox);
QCOMPARE(hbox->margin(), 0);
......
......@@ -49,7 +49,6 @@ PrintPreviewPageWidget::PrintPreviewPageWidget(QWidget *parent)
hbox->addStretch(1);
connect(mPageComboBox, SIGNAL(activated(int)), this, SLOT(showPage(int)));
mPrintPreviewPage = new PrintPreviewPageViewer(this);
mPrintPreviewPage->setObjectName(QStringLiteral("printpreviewpage"));
layout->addWidget(mPrintPreviewPage);
......@@ -85,9 +84,9 @@ void PrintPreviewPageWidget::fillComboBox()
{
mPageComboBox->clear();
const int pageCount = mDoc->numPages();
for (int i = 0; i < pageCount; ++i) {
mPageComboBox->addItem(QString::number(i + 1));
}
for (int i = 0; i < pageCount; ++i) {
mPageComboBox->addItem(QString::number(i + 1));
}
}
void PrintPreviewPageWidget::showPage(int index)
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "printwebengineviewjob.h"
using namespace WebEngineViewer;
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef PRINTWEBENGINEVIEWJOB_H
#define PRINTWEBENGINEVIEWJOB_H
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "printpreviewdialog_gui.h"
#include "../printpreviewdialog.h"
......
......@@ -15,11 +15,9 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef PRINTPREVIEWDIALOG_GUI_H
#define PRINTPREVIEWDIALOG_GUI_H
class PrintPreviewDialog_gui
{
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment