00001 /*************************************************************************** 00002 qlistviewitem1.h - description 00003 ------------------- 00004 begin : lun jun 23 2003 00005 copyright : (C) 2003 by Tomeu Borrás Riera 00006 email : tborras@conetxia.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QLISTVIEWITEM1_H 00019 #define QLISTVIEWITEM1_H 00020 00021 #include <qlistview.h> 00022 00027 class QListViewItem1 : public QListViewItem { 00028 public: 00029 int tipolista; 00030 public: 00031 QListViewItem1(QListView *parent): QListViewItem(parent) {}; 00032 QListViewItem1(QListViewItem *parent) : QListViewItem(parent) {}; 00033 ~QListViewItem1() {}; 00034 void paintCell ( QPainter * , const QColorGroup & , int, int ,int ); 00035 void setTipo(int a) { tipolista = a;}; 00036 void width(const QFontMetrics &, const QListView *, int); 00037 00038 }; 00039 00040 #endif