Revamp Shared Memory Example: Fix formatting of the dialog.h header
"dialog.h" has inconsitent indentation. Task-number: QTBUG-108858 Change-Id: Id029d5ec63f3831e5ffcfe2b61d7e86896d4afb5 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 0a62d4e4c07ddcc650c67faf977663f7fb8aef62) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 1f4460cb1f0f3c40eb7f82c1222a3eb57bcdbc6b)
This commit is contained in:
parent
0449c4b4ea
commit
7fbf16698b
@ -14,21 +14,21 @@ class Dialog : public QDialog
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Dialog(QWidget *parent = nullptr);
|
Dialog(QWidget *parent = nullptr);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void loadFromFile();
|
void loadFromFile();
|
||||||
void loadFromMemory();
|
void loadFromMemory();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void detach();
|
void detach();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::Dialog ui;
|
Ui::Dialog ui;
|
||||||
QSharedMemory sharedMemory;
|
QSharedMemory sharedMemory;
|
||||||
};
|
};
|
||||||
//! [0]
|
//! [0]
|
||||||
|
|
||||||
#endif
|
#endif // DIALOG_H
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user