Remove non-const getters marked for elimination.
These all have consted overloads, so there's no need for them. Change-Id: I3d4f63b8eb8f1b7df7fa772d6172e0a954184d24 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
parent
7f32f6d682
commit
c559edd76b
@ -941,15 +941,6 @@ QFocusEvent::~QFocusEvent()
|
||||
{
|
||||
}
|
||||
|
||||
// ### Qt 5: remove
|
||||
/*!
|
||||
\internal
|
||||
*/
|
||||
Qt::FocusReason QFocusEvent::reason()
|
||||
{
|
||||
return m_reason;
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the reason for this focus event.
|
||||
*/
|
||||
@ -3232,13 +3223,6 @@ QClipboardEvent::~QClipboardEvent()
|
||||
Returns the key sequence that triggered the event.
|
||||
*/
|
||||
|
||||
// ### Qt 5: remove
|
||||
/*!
|
||||
\fn const QKeySequence &QShortcutEvent::key()
|
||||
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn int QShortcutEvent::shortcutId() const
|
||||
|
||||
@ -3248,14 +3232,6 @@ QClipboardEvent::~QClipboardEvent()
|
||||
\sa QShortcut::id()
|
||||
*/
|
||||
|
||||
// ### Qt 5: remove
|
||||
/*!
|
||||
\fn int QShortcutEvent::shortcutId()
|
||||
\overload
|
||||
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn bool QShortcutEvent::isAmbiguous() const
|
||||
|
||||
@ -3265,13 +3241,6 @@ QClipboardEvent::~QClipboardEvent()
|
||||
\sa QShortcut::activatedAmbiguously()
|
||||
*/
|
||||
|
||||
// ### Qt 5: remove
|
||||
/*!
|
||||
\fn bool QShortcutEvent::isAmbiguous()
|
||||
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\class QWindowStateChangeEvent
|
||||
\ingroup events
|
||||
|
@ -266,7 +266,6 @@ public:
|
||||
inline bool gotFocus() const { return type() == FocusIn; }
|
||||
inline bool lostFocus() const { return type() == FocusOut; }
|
||||
|
||||
Qt::FocusReason reason();
|
||||
Qt::FocusReason reason() const;
|
||||
|
||||
private:
|
||||
@ -639,11 +638,8 @@ public:
|
||||
QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false);
|
||||
~QShortcutEvent();
|
||||
|
||||
inline const QKeySequence &key() { return sequence; }
|
||||
inline const QKeySequence &key() const { return sequence; }
|
||||
inline int shortcutId() { return sid; }
|
||||
inline int shortcutId() const { return sid; }
|
||||
inline bool isAmbiguous() { return ambig; }
|
||||
inline bool isAmbiguous() const { return ambig; }
|
||||
protected:
|
||||
QKeySequence sequence;
|
||||
|
Loading…
Reference in New Issue
Block a user