tests/auto/qpixmapcache/tst_qpixmapcache.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the test suite of the Qt Toolkit.
     7 ** This file is part of the test suite of the Qt Toolkit.
     8 **
     8 **
   485 
   485 
   486 //QTP: remove temporarily to get the code compiled.
   486 //QTP: remove temporarily to get the code compiled.
   487 // The following function is implemented in qpixmapcache.cpp in GUI but export for 
   487 // The following function is implemented in qpixmapcache.cpp in GUI but export for 
   488 // auto test only with marco Q_AUTOTEST_EXPORT
   488 // auto test only with marco Q_AUTOTEST_EXPORT
   489 
   489 
       
   490 //QT_BEGIN_NAMESPACE
   490 //extern int q_QPixmapCache_keyHashSize();
   491 //extern int q_QPixmapCache_keyHashSize();
       
   492 //QT_END_NAMESPACE
   491 
   493 
   492 void tst_QPixmapCache::noLeak()
   494 void tst_QPixmapCache::noLeak()
   493 {
   495 {
   494     QPixmapCache::Key key;
   496     QPixmapCache::Key key;
   495 
   497