--- a/homescreenapp/hsdomainmodel/inc/hspagenewwidgetlayout.h Wed Jul 14 15:53:30 2010 +0300
+++ b/homescreenapp/hsdomainmodel/inc/hspagenewwidgetlayout.h Fri Jul 23 13:47:57 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -35,9 +35,13 @@
void removeAt(int index);
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
void setGeometry(const QRectF &rect);
-
void addItem(HsWidgetHost *item);
-
+ enum sortOrder { height, width};
+
+private:
+#ifdef HSWIDGETORGANIZER_ALGORITHM
+ QList<HsWidgetHost*> sortWidgets(sortOrder order);
+#endif
private:
QSizeF mSize;
QList<HsWidgetHost*> mNewWidgets;
@@ -46,5 +50,4 @@
HOMESCREEN_TEST_FRIEND_CLASS(TestHsDomainModel)
};
-
#endif