summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/shadedlistitem.h
Unidiff
Diffstat (limited to 'noncore/apps/zsafe/shadedlistitem.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/zsafe/shadedlistitem.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/shadedlistitem.h b/noncore/apps/zsafe/shadedlistitem.h
new file mode 100644
index 0000000..0db2fa8
--- a/dev/null
+++ b/noncore/apps/zsafe/shadedlistitem.h
@@ -0,0 +1,34 @@
1/*
2 * shadedlistitem.h
3 *
4 * (c) 2003 by Jeremy Bowman <jmbowman@alum.mit.edu>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */
11
12#ifndef SHADEDLISTITEM_H
13#define SHADEDLISTITEM_H
14
15#include <qlistview.h>
16
17class ShadedListItem: public QListViewItem
18{
19public:
20 ShadedListItem(int index, QListViewItem *parent);
21 ShadedListItem(int index, QListView *parent);
22 ShadedListItem(int index, QListView *parent, QListViewItem *after);
23 ShadedListItem(int index, QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null);
24 ShadedListItem(int index, QListView *parent, QListViewItem *after, QString label1, QString label2 = QString::null, QString label3 = QString::null);
25 ~ShadedListItem();
26
27 void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment);
28
29private:
30 QListView *lv;
31 bool oddRow;
32};
33
34#endif