2009-06-05 20:18:20 +00:00
|
|
|
//
|
|
|
|
|
// C++ Implementation: mycardspixmaplabel
|
|
|
|
|
//
|
2011-02-11 20:02:08 +00:00
|
|
|
// Description:
|
2009-06-05 20:18:20 +00:00
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
|
|
|
|
|
//
|
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
#include "mystylelistitem.h"
|
|
|
|
|
|
2010-07-08 22:01:07 +00:00
|
|
|
MyStyleListItem::MyStyleListItem(QStringList s, QTreeWidget *w)
|
2011-02-11 20:02:08 +00:00
|
|
|
: QTreeWidgetItem(w, s, QTreeWidgetItem::UserType)
|
2009-06-05 20:18:20 +00:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2011-02-11 20:02:08 +00:00
|
|
|
MyStyleListItem::~MyStyleListItem()
|
2009-06-05 20:18:20 +00:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2010-07-08 22:01:07 +00:00
|
|
|
bool MyStyleListItem::operator<( const QTreeWidgetItem &other ) const
|
2009-06-05 20:18:20 +00:00
|
|
|
{
|
2011-02-11 20:02:08 +00:00
|
|
|
return text(0).toLower() < other.text(0).toLower();
|
2009-06-05 20:18:20 +00:00
|
|
|
}
|
|
|
|
|
|