Remove some #if 0 blocks from API headers

Noticed in API review for 5.8 release.

Change-Id: I1dd48c676924048c32fab8307868cf61915df131
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
Edward Welbourne 2016-11-21 14:56:09 +01:00
parent a32424b46c
commit 20017d0b1b
2 changed files with 0 additions and 13 deletions

View File

@ -570,16 +570,6 @@ public:
inline QWidget *childAt(int x, int y) const;
QWidget *childAt(const QPoint &p) const;
#if 0 // Used to be included in Qt4 for Q_WS_X11
const QX11Info &x11Info() const;
Qt::HANDLE x11PictureHandle() const;
#endif
#if 0 // Used to be included in Qt4 for Q_WS_MAC
Qt::HANDLE macQDHandle() const;
Qt::HANDLE macCGHandle() const;
#endif
void setAttribute(Qt::WidgetAttribute, bool on = true);
inline bool testAttribute(Qt::WidgetAttribute) const;

View File

@ -87,9 +87,6 @@ public Q_SLOTS:
protected:
bool event(QEvent *e) Q_DECL_OVERRIDE;
#if 0 // Used to be included in Qt4 for Q_WS_MAC
bool hitButton(const QPoint &pos) const;
#endif
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent *) Q_DECL_OVERRIDE;
void focusInEvent(QFocusEvent *) Q_DECL_OVERRIDE;