summaryrefslogtreecommitdiffabout
path: root/korganizer/cellitem.h
Unidiff
Diffstat (limited to 'korganizer/cellitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/cellitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/cellitem.h b/korganizer/cellitem.h
index 72773d0..b917bd5 100644
--- a/korganizer/cellitem.h
+++ b/korganizer/cellitem.h
@@ -16,25 +16,25 @@
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software 17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 19
20 As a special exception, permission is given to link this program 20 As a special exception, permission is given to link this program
21 with any edition of Qt, and distribute the resulting executable, 21 with any edition of Qt, and distribute the resulting executable,
22 without including the source code for Qt in the source distribution. 22 without including the source code for Qt in the source distribution.
23*/ 23*/
24#ifndef KORG_CELLITEM_H 24#ifndef KORG_CELLITEM_H
25#define KORG_CELLITEM_H 25#define KORG_CELLITEM_H
26 26
27#include <qstring.h> 27#include <qstring.h>
28#include <qptrlist.h> 28#include <q3ptrlist.h>
29 29
30namespace KOrg { 30namespace KOrg {
31 31
32class CellItem 32class CellItem
33{ 33{
34 public: 34 public:
35 CellItem() 35 CellItem()
36 : mSubCells( 0 ), mSubCell( -1 ) 36 : mSubCells( 0 ), mSubCell( -1 )
37 { 37 {
38 } 38 }
39 39
40 void setSubCells( int v ) { mSubCells = v; } 40 void setSubCells( int v ) { mSubCells = v; }
@@ -44,23 +44,23 @@ class CellItem
44 int subCell() const { return mSubCell; } 44 int subCell() const { return mSubCell; }
45 45
46 virtual bool overlaps( CellItem *other ) const = 0; 46 virtual bool overlaps( CellItem *other ) const = 0;
47 47
48 virtual QString label() const; 48 virtual QString label() const;
49 49
50 /** 50 /**
51 Place item \arg placeItem into stripe containing items \arg cells in a 51 Place item \arg placeItem into stripe containing items \arg cells in a
52 way that items don't overlap. 52 way that items don't overlap.
53 53
54 \return Placed items 54 \return Placed items
55 */ 55 */
56 static QPtrList<CellItem> placeItem( QPtrList<CellItem> cells, 56 static Q3PtrList<CellItem> placeItem( Q3PtrList<CellItem> cells,
57 CellItem *placeItem ); 57 CellItem *placeItem );
58 58
59 private: 59 private:
60 int mSubCells; 60 int mSubCells;
61 int mSubCell; 61 int mSubCell;
62}; 62};
63 63
64} 64}
65 65
66#endif 66#endif