24 #ifndef KORG_CELLITEM_H
25 #define KORG_CELLITEM_H
28 #include <tqptrlist.h>
30 #include <kdepimmacros.h>
34 class KDE_EXPORT CellItem
38 : mSubCells( 0 ), mSubCell( -1 )
42 void setSubCells( int v ) { mSubCells = v; }
43 int subCells() const { return mSubCells; }
45 void setSubCell( int v ) { mSubCell = v; }
46 int subCell() const { return mSubCell; }
48 virtual bool overlaps( CellItem *other ) const = 0;
50 virtual TQString label() const;
58 static TQPtrList<CellItem> placeItem( TQPtrList<CellItem> cells,
59 CellItem *placeItem );
|