Qt: remove some more leftovers of Qt4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user