Skip to content

Commit c9fdf2e

Browse files
committed
move "ui_*.h" includes to implementation files where possible
1 parent 03ac919 commit c9fdf2e

5 files changed

+6
-5
lines changed

QtPMbrowser/DlgChoosePathAndPrefix.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
along with PMbrowser. If not, see <https://www.gnu.org/licenses/>.
1818
*/
1919

20-
#include <QDialog>
2120
#include <QFileDialog>
2221
#include <QSettings>
22+
#include "ui_DlgChoosePathAndPrefix.h"
2323
#include "DlgChoosePathAndPrefix.h"
2424

2525
DlgChoosePathAndPrefix::DlgChoosePathAndPrefix(QWidget* parent, const QString& Path) : QDialog(parent), path(Path),

QtPMbrowser/DlgChoosePathAndPrefix.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
#include <QWidget>
2323
#include <QString>
24-
#include "ui_DlgChoosePathAndPrefix.h"
24+
#include <QDialog>
2525

2626
QT_BEGIN_NAMESPACE
27-
namespace Ui { class PMbrowserWindow; }
27+
namespace Ui { class DlgChoosePathAndPrefix; }
2828
QT_END_NAMESPACE
2929

3030
enum class ExportType {

QtPMbrowser/DlgExportMetadata.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#pragma once
2121

2222
#include <QDialog>
23-
#include "ui_DlgExportMetadata.h"
23+
2424
QT_BEGIN_NAMESPACE
2525
namespace Ui { class DlgExportMetadata; }
2626
QT_END_NAMESPACE

QtPMbrowser/DlgSelectParameters.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
along with PMbrowser. If not, see <https://www.gnu.org/licenses/>.
1818
*/
1919

20+
#include "ui_DlgSelectParameters.h"
2021
#include "DlgSelectParameters.h"
2122

2223
DlgSelectParameters::DlgSelectParameters(QWidget *parent)

QtPMbrowser/DlgSelectParameters.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#include <QLabel>
2525
#include <QPalette>
2626
#include <QGridLayout>
27+
#include <QScrollArea>
2728
#include <vector>
2829
#include "PMparameters.h"
29-
#include "ui_DlgSelectParameters.h"
3030

3131
namespace Ui { class DlgSelectParameters; }
3232

0 commit comments

Comments
 (0)