diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-20 12:10:18 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-08-14 09:58:51 +0200 |
commit | 67ba2a5db89fb1964de00e91c3144ffecf0b72fe (patch) | |
tree | 8248c68abc75c32c47cccb8526fe88c9afda8d06 /src/corelib/kernel/qtmetamacros.h | |
parent | 80602ce2b34e6999706200f7dac02e0b5b05ff1c (diff) |
QObject/Q_OBJECT: remove deprecated old API
Since 5.0, trUtf8(), qFindChild()
Change-Id: I7bc0d125f92faebf24a422c1aac528a3f4687434
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qtmetamacros.h')
-rw-r--r-- | src/corelib/kernel/qtmetamacros.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/kernel/qtmetamacros.h b/src/corelib/kernel/qtmetamacros.h index ab2e10884f..0d7b8c0543 100644 --- a/src/corelib/kernel/qtmetamacros.h +++ b/src/corelib/kernel/qtmetamacros.h @@ -154,8 +154,6 @@ QT_BEGIN_NAMESPACE // full set of tr functions # define QT_TR_FUNCTIONS \ static inline QString tr(const char *s, const char *c = nullptr, int n = -1) \ - { return staticMetaObject.tr(s, c, n); } \ - QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \ { return staticMetaObject.tr(s, c, n); } #else // inherit the ones from QObject |