You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yakuake/yakuake/src/skin_list_item.h

54 lines
1.2 KiB

/*
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.
*/
/*
Copyright (C) 2007 Eike Hein <hein@kde.org>
*/
#ifndef SKIN_LIST_ITEM_H
#define SKIN_LIST_ITEM_H
#include "klistview.h"
#define MARGIN 3
class QSimpleRichText;
class SkinListItem : public KListViewItem
{
public:
explicit SkinListItem(KListView* parent, const QString& fancy_name,
const QString& author, const QPixmap& icon, const QString& name, const QString& dir);
~SkinListItem();
void setAuthor(const QString& author);
QString author();
void setName(const QString& name);
QString name();
void setDir(const QString& dir);
QString dir();
void setup();
void paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align);
private:
QSimpleRichText* item_text;
QString skin_name;
QString skin_author;
QString skin_dir;
};
#endif /* SKIN_LIST_ITEM_H */