mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 00:18:06 +03:00
Define code style and format all source file using clang-format-14
except those placed in 3rdparty directories.
This commit is contained in:
@@ -30,22 +30,22 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include "lrreportengine.h"
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QProgressDialog>
|
||||
#include <QtSql/QSqlDatabase>
|
||||
#include <QtSql/QSqlQueryModel>
|
||||
#include "lrreportengine.h"
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
class MainWindow: public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = 0);
|
||||
explicit MainWindow(QWidget* parent = 0);
|
||||
~MainWindow();
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
@@ -58,11 +58,13 @@ private slots:
|
||||
void slotGetCallbackChildData(LimeReport::CallbackInfo info, QVariant& data);
|
||||
void slotChangeChildPos(const LimeReport::CallbackInfo::ChangePosType& type, bool& result);
|
||||
void slotOneSlotDS(LimeReport::CallbackInfo info, QVariant& data);
|
||||
|
||||
private:
|
||||
void prepareData(QSqlQuery* ds, LimeReport::CallbackInfo info, QVariant &data);
|
||||
void prepareData(QSqlQuery* ds, LimeReport::CallbackInfo info, QVariant& data);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
LimeReport::ReportEngine *report;
|
||||
Ui::MainWindow* ui;
|
||||
LimeReport::ReportEngine* report;
|
||||
QProgressDialog* m_progressDialog;
|
||||
int m_currentPage;
|
||||
QSqlDatabase m_db;
|
||||
@@ -73,9 +75,6 @@ private:
|
||||
int m_currentOrderRecord;
|
||||
QSqlQuery* m_customers;
|
||||
QSqlQuery* m_orders;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user