mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 21:09:27 +02:00
Qt5: added QPixmapCache_clear(). part of issue #38844
This commit is contained in:
parent
3e73ef0cbd
commit
db27890d55
@ -212,6 +212,7 @@ HEADERS += \
|
||||
qtextdocumentwriter_c.h \
|
||||
qicon_c.h \
|
||||
qpixmap_c.h \
|
||||
qpixmapcache_c.h \
|
||||
qimage_c.h \
|
||||
qbitmap_c.h \
|
||||
qpicture_c.h \
|
||||
@ -556,6 +557,7 @@ SOURCES += \
|
||||
qtextdocumentwriter_c.cpp \
|
||||
qicon_c.cpp \
|
||||
qpixmap_c.cpp \
|
||||
qpixmapcache_c.cpp \
|
||||
qimage_c.cpp \
|
||||
qbitmap_c.cpp \
|
||||
qpicture_c.cpp \
|
||||
|
16
lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.cpp
Normal file
16
lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
//******************************************************************************
|
||||
// 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();
|
||||
}
|
20
lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.h
Normal file
20
lcl/interfaces/qt5/cbindings/src/qpixmapcache_c.h
Normal file
@ -0,0 +1,20 @@
|
||||
//******************************************************************************
|
||||
// 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 <QtGui>
|
||||
#include "pascalbind.h"
|
||||
|
||||
C_EXPORT void QPixmapCache_Clear();
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user