Skip to content

Commit

Permalink
move "ui_*.h" includes to implementation files where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHal committed Jun 7, 2024
1 parent 03ac919 commit c9fdf2e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion QtPMbrowser/DlgChoosePathAndPrefix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
along with PMbrowser. If not, see <https://www.gnu.org/licenses/>.
*/

#include <QDialog>
#include <QFileDialog>
#include <QSettings>
#include "ui_DlgChoosePathAndPrefix.h"
#include "DlgChoosePathAndPrefix.h"

DlgChoosePathAndPrefix::DlgChoosePathAndPrefix(QWidget* parent, const QString& Path) : QDialog(parent), path(Path),
Expand Down
4 changes: 2 additions & 2 deletions QtPMbrowser/DlgChoosePathAndPrefix.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

#include <QWidget>
#include <QString>
#include "ui_DlgChoosePathAndPrefix.h"
#include <QDialog>

QT_BEGIN_NAMESPACE
namespace Ui { class PMbrowserWindow; }
namespace Ui { class DlgChoosePathAndPrefix; }
QT_END_NAMESPACE

enum class ExportType {
Expand Down
2 changes: 1 addition & 1 deletion QtPMbrowser/DlgExportMetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once

#include <QDialog>
#include "ui_DlgExportMetadata.h"

QT_BEGIN_NAMESPACE
namespace Ui { class DlgExportMetadata; }
QT_END_NAMESPACE
Expand Down
1 change: 1 addition & 0 deletions QtPMbrowser/DlgSelectParameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
along with PMbrowser. If not, see <https://www.gnu.org/licenses/>.
*/

#include "ui_DlgSelectParameters.h"
#include "DlgSelectParameters.h"

DlgSelectParameters::DlgSelectParameters(QWidget *parent)
Expand Down
2 changes: 1 addition & 1 deletion QtPMbrowser/DlgSelectParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
#include <QLabel>
#include <QPalette>
#include <QGridLayout>
#include <QScrollArea>
#include <vector>
#include "PMparameters.h"
#include "ui_DlgSelectParameters.h"

namespace Ui { class DlgSelectParameters; }

Expand Down

0 comments on commit c9fdf2e

Please sign in to comment.