/***************************************************************************
listefolder.h - description
-------------------
version :
begin : Thu Feb 4 1999
copyright : (C) 1999 by Didier Gaudin
email : gaudin@club-internet?fr
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef LISTEFOLDER_H
#define LISTEFOLDER_H
#include <qlistbox.h>
#include <qpixmap.h>
#include <qpainter.h>
/**
*@author Didier Gaudin
*/
class ListeFolder : public QListBoxItem {
public:
ListeFolder( const char *s, const QPixmap p ): QListBoxItem(), pm(p)
{ setText( s ); }
protected:
virtual void paint( QPainter * );
virtual int height( const QListBox * ) const;
virtual int width( const QListBox * ) const;
virtual const QPixmap *pixmap() { return ± }
private:
QPixmap pm;
};
#endif
Documentation generated by root@vmdiduz on sam fév 13 15:30:42 CET 1999