Remove QT_MOC_COMPAT signals
These are also obsolete since quite some time. Change-Id: Id04543ff4a4464922a204f59989abaeedb18df14 Reviewed-on: http://codereview.qt-project.org/5756 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
fc8b62222c
commit
3c54bd67da
@ -91,7 +91,6 @@ void QActionGroupPrivate::_q_actionTriggered()
|
||||
QAction *action = qobject_cast<QAction*>(q->sender());
|
||||
Q_ASSERT_X(action != 0, "QWidgetGroup::_q_actionTriggered", "internal error");
|
||||
emit q->triggered(action);
|
||||
emit q->selected(action);
|
||||
}
|
||||
|
||||
void QActionGroupPrivate::_q_actionHovered()
|
||||
@ -408,12 +407,6 @@ bool QActionGroup::isVisible() const
|
||||
\endcode
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn void QActionGroup::selected(QAction *action);
|
||||
|
||||
Use triggered() instead.
|
||||
|
||||
*/
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
@ -87,7 +87,6 @@ public Q_SLOTS:
|
||||
|
||||
Q_SIGNALS:
|
||||
void triggered(QAction *);
|
||||
QT_MOC_COMPAT void selected(QAction *);
|
||||
void hovered(QAction *);
|
||||
|
||||
private:
|
||||
|
@ -7456,11 +7456,6 @@ void QWidget::setVisible(bool visible)
|
||||
Convenience function, equivalent to setVisible(!\a hidden).
|
||||
*/
|
||||
|
||||
/*!\fn void QWidget::setShown(bool shown)
|
||||
|
||||
Use setVisible(\a shown) instead.
|
||||
*/
|
||||
|
||||
|
||||
void QWidgetPrivate::_q_showIfNotHidden()
|
||||
{
|
||||
|
@ -496,7 +496,6 @@ public Q_SLOTS:
|
||||
void show();
|
||||
#endif
|
||||
inline void hide() { setVisible(false); }
|
||||
inline QT_MOC_COMPAT void setShown(bool shown) { setVisible(shown); }
|
||||
|
||||
void showMinimized();
|
||||
void showMaximized();
|
||||
|
Loading…
Reference in New Issue
Block a user