From 9c8ed5dcb9d894512bf85ae21bc4fd6b996b84f2 Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Thu, 3 Mar 2022 15:53:39 +0300 Subject: [PATCH] Revert "Qt5: added QPixmapCache_clear(). part of issue #38844" This reverts commit ed5a24948450edd1d41cd062a1aba64310407992. --- lcl/interfaces/qt5/cbindings/Qt5Pas.pro | 2 -- .../qt5/cbindings/src/qpixmapcache_c.cpp | 16 --------------- .../qt5/cbindings/src/qpixmapcache_c.h | 20 ------------------- 3 files changed, 38 deletions(-) delete mode 100644 lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.cpp delete mode 100644 lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.h diff --git a/lcl/interfaces/qt5/cbindings/Qt5Pas.pro b/lcl/interfaces/qt5/cbindings/Qt5Pas.pro index 47a4687a1d..8cc2d50dd1 100644 --- a/lcl/interfaces/qt5/cbindings/Qt5Pas.pro +++ b/lcl/interfaces/qt5/cbindings/Qt5Pas.pro @@ -212,7 +212,6 @@ HEADERS += \ qtextdocumentwriter_c.h \ qicon_c.h \ qpixmap_c.h \ - qpixmapcache_c.h \ qimage_c.h \ qbitmap_c.h \ qpicture_c.h \ @@ -557,7 +556,6 @@ SOURCES += \ qtextdocumentwriter_c.cpp \ qicon_c.cpp \ qpixmap_c.cpp \ - qpixmapcache_c.cpp \ qimage_c.cpp \ qbitmap_c.cpp \ qpicture_c.cpp \ diff --git a/lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.cpp b/lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.cpp deleted file mode 100644 index 33dc84787a..0000000000 --- a/lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.cpp +++ /dev/null @@ -1,16 +0,0 @@ -//****************************************************************************** -// Copyright (c) 2014-2022 by Željan Rikalo -// -// See the included file COPYING.TXT for details about the copyright. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -//****************************************************************************** - -#include "qpixmapcache_c.h" - -void QPixmapCache_Clear() -{ - QPixmapCache::clear(); -} diff --git a/lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.h b/lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.h deleted file mode 100644 index 8356ec049e..0000000000 --- a/lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.h +++ /dev/null @@ -1,20 +0,0 @@ -//****************************************************************************** -// Copyright (c) 2014-2022 by Željan Rikalo -// -// See the included file COPYING.TXT for details about the copyright. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -//****************************************************************************** - - -#ifndef QPIXMAP_C_H -#define QPIXMAP_C_H - -#include -#include "pascalbind.h" - -C_EXPORT void QPixmapCache_Clear(); - -#endif