Qt: remove some more leftovers of Qt4

This commit is contained in:
wmayer
2022-03-19 23:27:28 +01:00
parent 13e09b36f8
commit a999a249e3
13 changed files with 6 additions and 103 deletions

View File

@@ -107,11 +107,7 @@ protected:
void contextMenuEvent(QContextMenuEvent *event);
void closeEvent(QCloseEvent*);
void findPrinterSettings(const QString&);
#if QT_VERSION >= 0x050300
QPageSize::PageSizeId getPageSize(int w, int h) const;
#else
QPrinter::PageSize getPageSize(int w, int h) const;
#endif
private:
QAction *m_nativeAction;
@@ -125,13 +121,8 @@ private:
std::string m_objectName;
QString m_currentPath;
#if QT_VERSION >= 0x050300
QPageLayout::Orientation m_orientation;
QPageSize::PageSizeId m_pageSize;
#else
QPrinter::Orientation m_orientation;
QPrinter::PageSize m_pageSize;
#endif
};
} // namespace DrawingViewGui