1
/* Copyright (C) 2002, 2003, 2004, 2005 Jan Wedekind.
2
This file is part of the recipe database application AnyMeal.
4
AnyMeal is free software; you can redistribute it and/or modify it under
5
the terms of the GNU GENERAL PUBLIC LICENSE as published by the Free
6
Software Foundation; either version 2 of the License, or (at your option)
9
AnyMeal is distributed in the hope that it will be useful, but WITHOUT ANY
10
WARRANTY; without even the implied warranty of MERCHANTIBILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
You should have received a copy of the GNU General Public License along
15
with AnyMeal; if not, contact one of the authors of this software. */
16
#ifndef __CATEGORYLISTITEM_HPP
17
#define __CATEGORYLISTITEM_HPP
19
#include <qlistview.h>
22
/** Item for displaying a single category.
24
@author Jan Wedekind (wedesoft@users.sourceforge.net) */
25
class CategoryListItem: public QCheckListItem
29
typedef QCheckListItem::Type Type;
31
CategoryListItem( QListView *parent, const QString &text );
33
virtual int compare( QListViewItem *i, int col, bool ascending ) const;