author | sandman <sandman> | 2002-09-20 01:42:10 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-20 01:42:10 (UTC) |
commit | b1f3d33cb0b3f203f153074a8812d5988c3031b2 (patch) (side-by-side diff) | |
tree | 1734ac2808dab8f0982b23a2a9101486fcdcfee5 /noncore/settings/appearance2/colorlistitem.h | |
parent | 9204c61f669fb265f6c5f14bfd6ca363a2929e40 (diff) | |
download | opie-b1f3d33cb0b3f203f153074a8812d5988c3031b2.zip opie-b1f3d33cb0b3f203f153074a8812d5988c3031b2.tar.gz opie-b1f3d33cb0b3f203f153074a8812d5988c3031b2.tar.bz2 |
New experimental appearance settings
Diffstat (limited to 'noncore/settings/appearance2/colorlistitem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/colorlistitem.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 <qlistbox.h> +#include <qpalette.h> + +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 |