LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DimensionsSystemInterface::PageRestore Class Reference

#include <pagerestore.h>

Inheritance diagram for DimensionsSystemInterface::PageRestore:
[legend]
Collaboration diagram for DimensionsSystemInterface::PageRestore:
[legend]

Public Member Functions

 PageRestore ()
 
virtual ~PageRestore ()
 

Static Public Member Functions

static QList< QVariantMap > restoreLauncher (const QString &masterSaveFilepath)
 
static QVariantMap restoreQuickLaunch (const QString &quicklaunchSaveFilepath)
 
static QVariantMap restorePage (const QString &pageSaveFilepath)
 
static QString pageSaveFilepathFromPageTag (const QVariantMap &pageTag)
 
static QString selectMasterFile (const QList< QString > &masterFileList, PageRestoreMSaveFileSelector::Enum selector, QVariant selectValue=QVariant())
 
static QList< QString > scanForSavedMasterFiles ()
 
static QVariantMap masterFileStat (const QString &filePath)
 
static QList< QVariantMap > processMasterFile (const QString &masterFilepath)
 
static bool masterfileSaveSysVersion (const QVariantMap &masterFileHeader, quint32 &r_saveSysVersion)
 
static bool masterfileTimeStamp (const QVariantMap &masterFileHeader, quint64 &r_timeStamp)
 
static bool masterfileSimpleName (const QVariantMap &masterFileHeader, QString &r_simpleName)
 
static bool masterfileNumPages (const QVariantMap &masterFileHeader, quint32 &r_numPages)
 
static bool isMasterFileCompatibleWithCurrentSaveSysVersion (const QVariantMap &masterFileHeader)
 
static QString selectQuicklaunchFile (const QList< QString > &quickLaunchFileList, QuickLaunchRestoreSaveFileSelector::Enum selector, QVariant selectValue=QVariant())
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ More...
 
static QList< QString > scanForSavedQuicklaunchFiles ()
 
static QVariantMap quicklaunchFileStat (const QString &filepath)
 
static QVariantMap processQuicklaunchFile (const QString &filepath)
 
static bool quicklaunchFileTimeStamp (const QVariantMap &quicklaunchFileHeader, quint64 &r_timeStamp)
 
static bool quicklaunchFileSimpleName (const QVariantMap &quicklaunchFileHeader, QString &r_simpleName)
 
static bool quicklaunchFileSaveSysVersion (const QVariantMap &quicklaunchFileHeader, quint32 &r_saveSysVersion)
 
static bool isQuicklaunchFileCompatibleWithCurrentSaveSysVersion (const QVariantMap &quicklaunchFileHeader)
 
static bool convertLegacyJsonQuicklaunchConfig (const QString &sourceFilepath, const QString &destinationFilepath=QString())
 
static QList< QPair< QString,
QList< QString > > > 
loadStaticLegacyLauncherConfig (const QString &sourceFilePath)
 
static QPair< QString, quint32 > itemPositionAsStoredOnDisk (const QString &webOsAppId)
 

Static Protected Member Functions

static QList
< WebOSAppRestoreObject
restoreReorderablePage (QSettings &savedSettingsObj, const QString &pageUid)
 

Constructor & Destructor Documentation

DimensionsSystemInterface::PageRestore::PageRestore ( )
DimensionsSystemInterface::PageRestore::~PageRestore ( )
virtual

Member Function Documentation

bool DimensionsSystemInterface::PageRestore::convertLegacyJsonQuicklaunchConfig ( const QString &  sourceFilepath,
const QString &  destinationFilepath = QString() 
)
static

WARNING: don't change extension or the file scanner for restore won't work (see pagerestore.cpp)

bool DimensionsSystemInterface::PageRestore::isMasterFileCompatibleWithCurrentSaveSysVersion ( const QVariantMap &  masterFileHeader)
static
bool DimensionsSystemInterface::PageRestore::isQuicklaunchFileCompatibleWithCurrentSaveSysVersion ( const QVariantMap &  quicklaunchFileHeader)
static
QPair< QString, quint32 > DimensionsSystemInterface::PageRestore::itemPositionAsStoredOnDisk ( const QString &  webOsAppId)
static
QList< QPair< QString, QList< QString > > > DimensionsSystemInterface::PageRestore::loadStaticLegacyLauncherConfig ( const QString &  sourceFilePath)
static
bool DimensionsSystemInterface::PageRestore::masterfileNumPages ( const QVariantMap &  masterFileHeader,
quint32 &  r_numPages 
)
static
bool DimensionsSystemInterface::PageRestore::masterfileSaveSysVersion ( const QVariantMap &  masterFileHeader,
quint32 &  r_saveSysVersion 
)
static
bool DimensionsSystemInterface::PageRestore::masterfileSimpleName ( const QVariantMap &  masterFileHeader,
QString &  r_simpleName 
)
static
QVariantMap DimensionsSystemInterface::PageRestore::masterFileStat ( const QString &  filePath)
static
bool DimensionsSystemInterface::PageRestore::masterfileTimeStamp ( const QVariantMap &  masterFileHeader,
quint64 &  r_timeStamp 
)
static
QString DimensionsSystemInterface::PageRestore::pageSaveFilepathFromPageTag ( const QVariantMap &  pageTag)
static
QList< QVariantMap > DimensionsSystemInterface::PageRestore::processMasterFile ( const QString &  masterFilepath)
static
QVariantMap DimensionsSystemInterface::PageRestore::processQuicklaunchFile ( const QString &  filepath)
static
bool DimensionsSystemInterface::PageRestore::quicklaunchFileSaveSysVersion ( const QVariantMap &  quicklaunchFileHeader,
quint32 &  r_saveSysVersion 
)
static
bool DimensionsSystemInterface::PageRestore::quicklaunchFileSimpleName ( const QVariantMap &  quicklaunchFileHeader,
QString &  r_simpleName 
)
static
QVariantMap DimensionsSystemInterface::PageRestore::quicklaunchFileStat ( const QString &  filepath)
static
bool DimensionsSystemInterface::PageRestore::quicklaunchFileTimeStamp ( const QVariantMap &  quicklaunchFileHeader,
quint64 &  r_timeStamp 
)
static
QList< QVariantMap > DimensionsSystemInterface::PageRestore::restoreLauncher ( const QString &  masterSaveFilepath)
static
QVariantMap DimensionsSystemInterface::PageRestore::restorePage ( const QString &  pageSaveFilepath)
static
QVariantMap DimensionsSystemInterface::PageRestore::restoreQuickLaunch ( const QString &  quicklaunchSaveFilepath)
static
QList< WebOSAppRestoreObject > DimensionsSystemInterface::PageRestore::restoreReorderablePage ( QSettings &  savedSettingsObj,
const QString &  pageUid 
)
staticprotected
QList< QString > DimensionsSystemInterface::PageRestore::scanForSavedMasterFiles ( )
static
QList< QString > DimensionsSystemInterface::PageRestore::scanForSavedQuicklaunchFiles ( )
static
QString DimensionsSystemInterface::PageRestore::selectMasterFile ( const QList< QString > &  masterFileList,
PageRestoreMSaveFileSelector::Enum  selector,
QVariant  selectValue = QVariant() 
)
static
QString DimensionsSystemInterface::PageRestore::selectQuicklaunchFile ( const QList< QString > &  quickLaunchFileList,
QuickLaunchRestoreSaveFileSelector::Enum  selector,
QVariant  selectValue = QVariant() 
)
static

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


The documentation for this class was generated from the following files: