summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qbasictimer.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-16 17:54:35 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-20 16:06:29 +0200
commit6e5694b63b0275fe180da7b892b03a865d218d99 (patch)
treee577c44267a999fa1125025d46dca16cc057ad75 /src/corelib/kernel/qbasictimer.cpp
parent2ae3f70a40bfc8e9368357ab6c2536ce86a087d8 (diff)
QBasicTimer: purge deprecated API
Since 5.14, copy constructor and assignment. Change-Id: Id569968ee3879caea2f69e373d392881901965f2 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/kernel/qbasictimer.cpp')
-rw-r--r--src/corelib/kernel/qbasictimer.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/corelib/kernel/qbasictimer.cpp b/src/corelib/kernel/qbasictimer.cpp
index 623ecb9b8b..604b4edba6 100644
--- a/src/corelib/kernel/qbasictimer.cpp
+++ b/src/corelib/kernel/qbasictimer.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
@@ -105,29 +105,6 @@ QT_BEGIN_NAMESPACE
\sa stop(), isActive(), swap()
*/
-#if QT_DEPRECATED_SINCE(5, 14)
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
-/*!
- \internal
-*/
-QBasicTimer::QBasicTimer(const QBasicTimer &other)
- : id{other.id}
-{
- qWarning("QBasicTimer can't be copied");
-}
-
-/*!
- \internal
-*/
-QBasicTimer &QBasicTimer::operator=(const QBasicTimer &other)
-{
- id = other.id;
- qWarning("QBasicTimer can't be assigned to");
- return *this;
-}
-#endif
-#endif
-
/*!
\fn QBasicTimer::~QBasicTimer()