diff -r 4e8ebe173323 -r 23b5d6a29cce homescreenapp/hsdomainmodel/inc/hsdatabase.h --- a/homescreenapp/hsdomainmodel/inc/hsdatabase.h Mon May 03 12:24:59 2010 +0300 +++ b/homescreenapp/hsdomainmodel/inc/hsdatabase.h Fri May 14 15:43:04 2010 +0300 @@ -75,7 +75,9 @@ bool widgetPreferences(int widgetId, QVariantHash &data); bool widgetPreference(int widgetId, const QString &key, QVariant &value); bool setWidgetPreferences(int widgetId, const QVariantHash &data); - + + void setDataBaseBlocked(bool blocked); + bool getDataBaseBlocked(); public: static void setInstance(HsDatabase *instance); static HsDatabase *instance(); @@ -90,6 +92,7 @@ QString mDatabaseName; static QScopedPointer mInstance; + bool mBlocked; }; #endif // HSDATABASE_H