src/plugins/imageformats/ico/qicohandler.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    52 #include <QtCore/qendian.h>
    52 #include <QtCore/qendian.h>
    53 #include <QtGui/QImage>
    53 #include <QtGui/QImage>
    54 #include <QtCore/QFile>
    54 #include <QtCore/QFile>
    55 #include <QtCore/QBuffer>
    55 #include <QtCore/QBuffer>
    56 #include <qvariant.h>
    56 #include <qvariant.h>
       
    57 
       
    58 QT_BEGIN_NAMESPACE
       
    59 
    57 // These next two structs represent how the icon information is stored
    60 // These next two structs represent how the icon information is stored
    58 // in an ICO file.
    61 // in an ICO file.
    59 typedef struct
    62 typedef struct
    60 {
    63 {
    61     quint8  bWidth;               // Width of the image
    64     quint8  bWidth;               // Width of the image
   889 bool QtIcoHandler::jumpToNextImage()
   892 bool QtIcoHandler::jumpToNextImage()
   890 {
   893 {
   891     return jumpToImage(m_currentIconIndex + 1);
   894     return jumpToImage(m_currentIconIndex + 1);
   892 }
   895 }
   893 
   896 
       
   897 QT_END_NAMESPACE