--- a/homescreenapp/hsdomainmodel/inc/hsdatabase.h Thu May 27 12:46:08 2010 +0300
+++ b/homescreenapp/hsdomainmodel/inc/hsdatabase.h Fri Jun 11 13:30:16 2010 +0300
@@ -75,7 +75,7 @@
bool widgetPresentation(HsWidgetPresentationData &data);
bool setWidgetPresentation(const HsWidgetPresentationData &data);
- bool deleteWidgetPresentation(int widgetId, const QString &key);
+ bool deleteWidgetPresentation(int widgetId, Qt::Orientation orientation);
bool widgetPreferences(int widgetId, QVariantHash &data);
bool widgetPreference(int widgetId, const QString &key, QVariant &value);
@@ -98,7 +98,7 @@
QString mConnectionName;
QString mDatabaseName;
- static QScopedPointer<HsDatabase> mInstance;
+ static HsDatabase *mInstance;
};
#endif // HSDATABASE_H