/**************************************************************************** ** $Id: qpixmapcache.h,v 2.5.2.1 1998/08/19 16:02:32 agulbra Exp $ ** ** Definition of QPixmapCache class ** ** Created : 950501 ** ** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved. ** ** This file is part of Troll Tech's internal development tree for Qt. ** ** This header text will be replaced by an appropriate text by the ** mkdist script which generates external distributions. ** ** If you are using the Qt Professional Edition or the Qt Free Edition, ** please notify Troll Tech at <info@troll.no> if you see this text. ** ** To Troll Tech developers: This header was generated by the script ** fixcopyright-int. It has the same number of text lines as the free ** and professional editions to avoid line number inconsistency. ** *****************************************************************************/ #ifndef QPIXMAPCACHE_H #define QPIXMAPCACHE_H #ifndef QT_H #include "qpixmap.h" #endif // QT_H class Q_EXPORT QPixmapCache // global pixmap cache { public: static int cacheLimit(); static void setCacheLimit( int ); static QPixmap *find( const char *key ); static bool find( const char *key, QPixmap& ); static bool insert( const char *key, QPixmap * ); static void insert( const char *key, const QPixmap& ); static void clear(); }; #endif // QPIXMAPCACHE_H
Copyright © 1998 Troll Tech | Trademarks | Qt version 1.41
|