mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-02 11:54:59 +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:
@@ -1,12 +1,14 @@
|
||||
#include "lrdesignerplugin.h"
|
||||
|
||||
#include <QRect>
|
||||
#include "lrreportdesignwindow.h"
|
||||
|
||||
ReportDesignerFactoryPlugin::~ReportDesignerFactoryPlugin() {
|
||||
}
|
||||
#include <QRect>
|
||||
|
||||
LimeReport::ReportDesignWindowInterface* ReportDesignerFactoryPlugin::getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report, QWidget* parent, QSettings* settings)
|
||||
ReportDesignerFactoryPlugin::~ReportDesignerFactoryPlugin() { }
|
||||
|
||||
LimeReport::ReportDesignWindowInterface*
|
||||
ReportDesignerFactoryPlugin::getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report,
|
||||
QWidget* parent, QSettings* settings)
|
||||
{
|
||||
return new LimeReport::ReportDesignWindow(report, parent, settings);
|
||||
}
|
||||
@@ -14,4 +16,3 @@ LimeReport::ReportDesignWindowInterface* ReportDesignerFactoryPlugin::getDesigne
|
||||
#if QT_VERSION < 0x050000
|
||||
Q_EXPORT_PLUGIN2(LimeReportPluginInterface, ReportDesignerFactoryPlugin)
|
||||
#endif
|
||||
|
||||
|
@@ -2,18 +2,21 @@
|
||||
#define LRDESIGNERPLUGIN_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
#include <lrdesignerplugininterface.h>
|
||||
|
||||
class ReportDesignerFactoryPlugin : public QObject, public LimeReportDesignerPluginInterface {
|
||||
class ReportDesignerFactoryPlugin: public QObject, public LimeReportDesignerPluginInterface {
|
||||
Q_OBJECT
|
||||
#if QT_VERSION >= 0x050000
|
||||
Q_PLUGIN_METADATA(IID "ru.limereport.DersignerFactoryInterface")
|
||||
#endif
|
||||
Q_INTERFACES( LimeReportDesignerPluginInterface )
|
||||
Q_INTERFACES(LimeReportDesignerPluginInterface)
|
||||
|
||||
public:
|
||||
~ReportDesignerFactoryPlugin();
|
||||
LimeReport::ReportDesignWindowInterface* getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report, QWidget* parent, QSettings* settings);
|
||||
LimeReport::ReportDesignWindowInterface*
|
||||
getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report, QWidget* parent,
|
||||
QSettings* settings);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user