Fix include order to respect the Coding Conventions. Task-number: QTBUG-108858 Pick-to: 6.5 Change-Id: Ifecf7c60ca7135104631587b25e907cb1d39e25b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 8643b52467f4034498c7fb08ede4b1f429ed5aa5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
35 lines
501 B
C++
35 lines
501 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef DIALOG_H
|
|
#define DIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QSharedMemory>
|
|
|
|
#include "ui_dialog.h"
|
|
|
|
//! [0]
|
|
class Dialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Dialog(QWidget *parent = nullptr);
|
|
|
|
public slots:
|
|
void loadFromFile();
|
|
void loadFromMemory();
|
|
|
|
private:
|
|
void detach();
|
|
|
|
private:
|
|
Ui::Dialog ui;
|
|
QSharedMemory sharedMemory;
|
|
};
|
|
//! [0]
|
|
|
|
#endif
|
|
|