diff options
Diffstat (limited to 'examples/showimg/imagefip.h')
-rw-r--r-- | examples/showimg/imagefip.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/showimg/imagefip.h b/examples/showimg/imagefip.h new file mode 100644 index 000000000..3537f9420 --- /dev/null +++ b/examples/showimg/imagefip.h @@ -0,0 +1,31 @@ +/**************************************************************************** +** +** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. +** +** This file is part of an example program for TQt. This example +** program may be used, distributed and modified without limitation. +** +*****************************************************************************/ + +#ifndef IMAGEFIP_H +#define IMAGEFIP_H + +#include <qfiledialog.h> +#include <qstrlist.h> +#include <qpixmap.h> + +class ImageIconProvider : public TQFileIconProvider +{ + Q_OBJECT + TQStrList fmts; + TQPixmap imagepm; + +public: + ImageIconProvider( TQWidget *parent=0, const char *name=0 ); + ~ImageIconProvider(); + + const TQPixmap * pixmap( const TQFileInfo &fi ); +}; + + +#endif // IMAGEFIP_H |