24 #ifndef KORG_CELLITEM_H
25 #define KORG_CELLITEM_H
28 #include <tqptrlist.h>
30 #include <tdemacros.h>
34 class TDE_EXPORT CellItem
38 : mSubCells( 0 ), mSubCell( -1 )
41 virtual ~CellItem() {}
43 void setSubCells( int v ) { mSubCells = v; }
44 int subCells() const { return mSubCells; }
46 void setSubCell( int v ) { mSubCell = v; }
47 int subCell() const { return mSubCell; }
49 virtual bool overlaps( CellItem *other ) const = 0;
51 virtual TQString label() const;
59 static TQPtrList<CellItem> placeItem( TQPtrList<CellItem> cells,
60 CellItem *placeItem );
|