From b1f3d33cb0b3f203f153074a8812d5988c3031b2 Mon Sep 17 00:00:00 2001 From: sandman Date: Fri, 20 Sep 2002 01:42:10 +0000 Subject: New experimental appearance settings --- (limited to 'noncore/settings/appearance2/colorlistitem.h') diff --git a/noncore/settings/appearance2/colorlistitem.h b/noncore/settings/appearance2/colorlistitem.h new file mode 100644 index 0000000..c7318a6 --- a/dev/null +++ b/noncore/settings/appearance2/colorlistitem.h @@ -0,0 +1,28 @@ +#ifndef COLORLISTITEM_H +#define COLORLISTITEM_H + +#include +#include + +class ColorListItem : public QListBoxText { +public: + ColorListItem ( const QString &t, const QPalette &pal ) : QListBoxText ( t ) + { + m_pal = pal; + } + + virtual ~ColorListItem ( ) + { + } + + QPalette palette ( ) + { + return m_pal; + } + +private: + QPalette m_pal; +}; + + +#endif -- cgit v0.9.0.2