homescreenapp/hsdomainmodel/inc/hsdatabase.h
changeset 55 03646e8da489
parent 51 4785f57bf3d4
child 60 30f14686fb04
child 62 341166945d65
--- 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