summaryrefslogtreecommitdiff
path: root/libopie/ocheckitem.h
Unidiff
Diffstat (limited to 'libopie/ocheckitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ocheckitem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libopie/ocheckitem.h b/libopie/ocheckitem.h
index 2387134..82ee3d0 100644
--- a/libopie/ocheckitem.h
+++ b/libopie/ocheckitem.h
@@ -29,15 +29,24 @@
29class OCheckItem : public QTableItem 29class OCheckItem : public QTableItem
30{ 30{
31public: 31public:
32 /** The size of a box currently unused */
32 enum Size { BoxSize = 10 }; 33 enum Size { BoxSize = 10 };
33 OCheckItem( QTable *t, const QString &sortkey ); 34 OCheckItem( QTable *t, const QString &sortkey );
34 35
35 virtual void setChecked( bool b ); 36 virtual void setChecked( bool b );
36 virtual void toggle(); 37 virtual void toggle();
37 bool isChecked() const; 38 bool isChecked() const;
39 /**
40 * @short Set the sort key
41 * @reimp
42 */
38 void setKey( const QString &key ) { m_sortKey = key; } 43 void setKey( const QString &key ) { m_sortKey = key; }
39 virtual QString key() const; 44 virtual QString key() const;
40 45
46 /**
47 * foo
48 * @internal
49 */
41 void paint( QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected ); 50 void paint( QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected );
42 51
43 //static const int BoxSize = 10; 52 //static const int BoxSize = 10;