summaryrefslogtreecommitdiffstats
path: root/korganizer/printing/cellitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/printing/cellitem.h')
-rw-r--r--korganizer/printing/cellitem.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/korganizer/printing/cellitem.h b/korganizer/printing/cellitem.h
index 9e1beb6ca..e4a37da06 100644
--- a/korganizer/printing/cellitem.h
+++ b/korganizer/printing/cellitem.h
@@ -38,13 +38,14 @@ class KDE_EXPORT CellItem
: mSubCells( 0 ), mSubCell( -1 )
{
}
-
+ virtual ~CellItem() {}
+
void setSubCells( int v ) { mSubCells = v; }
int subCells() const { return mSubCells; }
-
+
void setSubCell( int v ) { mSubCell = v; }
int subCell() const { return mSubCell; }
-
+
virtual bool overlaps( CellItem *other ) const = 0;
virtual TQString label() const;