00001 /* 00002 * GPLv2 00003 */ 00004 00005 #ifndef THUMB_NAIL_TOOL_H 00006 #define THUMB_NAIL_TOOL_H 00007 class QString; 00008 class QPixmap; 00009 class QImage; 00010 00011 struct ThumbNailTool { 00012 static QPixmap scaleImage( QImage&, int width, int height ); 00013 /* get one isInvalid() if non found */ 00014 static QPixmap getThumb( const QString&, int width, int height ); 00015 /* put one */ 00016 static void putThumb( const QString&, const QPixmap&, int width, int heigh ); 00017 }; 00018 00019 #endif
1.4.2