From 6e5694b63b0275fe180da7b892b03a865d218d99 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 16 Jul 2020 17:54:35 +0200 Subject: QBasicTimer: purge deprecated API Since 5.14, copy constructor and assignment. Change-Id: Id569968ee3879caea2f69e373d392881901965f2 Reviewed-by: David Faure --- src/corelib/kernel/qbasictimer.cpp | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'src/corelib/kernel/qbasictimer.cpp') 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() -- cgit v1.2.3