Hi, XQSettingsManager is *utilized* in Symbian backend of QtMobility Publish & Subscribe API but it's there only for internal purposes. However XQSettingsManager is also available in newest R&D SDKs as well as Symbian Foundation's MCL starting from Symbian^something. For older Symbian SDKs you can use XQSettingsManager by ripping it out from Qt/S60 Mobile Extensions preview 3 where it was originally written. The legacy SDK support is only unofficial, though.
Br, Jaakko >-----Original Message----- >From: [email protected] [mailto:[email protected]] >Sent: Tuesday, June 22, 2010 1:09 PM >To: Vuori Jaakko; [email protected] >Subject: RE: XQSettingsManager > >Oh, OK. I thought that it is as the codes are under >qt-mobility/src/publishsubscribe/xqsettingsmanager_symbian. >Great if you have insight into this, I'll be waiting :) > >BR, Pasi > >> -----Original Message----- >> From: ext Vuori Jaakko [mailto:[email protected]] >> Sent: Tuesday, June 22, 2010 1:04 PM >> To: Havia Pasi (Nokia-D/Oulu); [email protected] >> Subject: RE: XQSettingsManager >> >> Hi, >> >> XQSettingsManager is not a part of QtMobility so this mailing >> list is probably not the right forum to handle this issue. >> But I can answer you privately. Hold on. >> >> Br, >> Jaakko >> >> >-----Original Message----- >> >From: [email protected] >> >[mailto:[email protected]] On Behalf Of >> >[email protected] >> >Sent: Tuesday, June 22, 2010 9:46 AM >> >To: [email protected] >> >Subject: [Qt-mobility-feedback] XQSettingsManager >> > >> >Hi, >> > >> >I have a question regarding XQSettingsManager use in S60 >environment. >> > >> >I'm having problems with KSettingsDialPrefixText which is a >> literal. In >> >my unit test I want to set it (I read it in the code that >is tested) >> >but the only type that XQSettingsManager lets me set is int, not >> >string. >> > >> >This doesn't work: >> > XQSettingsKey >> >dialPrefixString(XQSettingsKey::TargetCentralRepository, >> >KCRUidNetworkSettings.iUid, KSettingsDialPrefixText); >> > XQSettingsManager setManager; >> > int err = setManager.writeItemValue(dialPrefixString, >> >QString("00")); >> > qDebug() << err; >> > qDebug() << setManager.error(); >> > >> >err is 0, setManager.error() returns 5 (BadTypeError). >> > >> >This doesn't give bad type error but how I'm supposed to read the >> >string out of int? >> > int err = setManager.writeItemValue(dialPrefixString, 1); >> > qDebug() << err; >> > qDebug() << setManager.error(); >> > >> >err is 0 and setManager.error() returns 0. >> > >> >The value I want to write is "00". Am I using this API wrong >> or what's >> >going on? >> > >> >BR, Pasi >> >_______________________________________________ >> >Qt-mobility-feedback mailing list >> >[email protected] >> >http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback >> > _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
