missing files fix
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
//
|
||||||
|
// C++ Implementation: mycardspixmaplabel
|
||||||
|
//
|
||||||
|
// Description:
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
|
#include "mystylelistitem.h"
|
||||||
|
|
||||||
|
MyStyleListItem::MyStyleListItem(QString s, QListWidget *w)
|
||||||
|
: QListWidgetItem(s, w, QListWidgetItem::UserType)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
MyStyleListItem::~MyStyleListItem()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
bool MyStyleListItem::operator<( const QListWidgetItem &other ) const
|
||||||
|
{
|
||||||
|
return text().toLower() < other.text().toLower();
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef MYSTYLELISTITEM_H
|
||||||
|
#define MYSTYLELISTITEM_H
|
||||||
|
|
||||||
|
#include <QtGui>
|
||||||
|
#include <QtCore>
|
||||||
|
|
||||||
|
class MyStyleListItem : public QListWidgetItem {
|
||||||
|
public:
|
||||||
|
MyStyleListItem(QString, QListWidget * =0);
|
||||||
|
~MyStyleListItem();
|
||||||
|
|
||||||
|
virtual bool operator<( const QListWidgetItem &) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // MYSTYLELISTITEM_H
|
||||||
Reference in New Issue
Block a user