v.0.3.3
This commit is contained in:
parent
d1acb9339a
commit
09e8b8d097
49 changed files with 1720 additions and 825 deletions
|
@ -70,7 +70,7 @@ TabView{
|
|||
signal changeimage(var method, var type, var id)
|
||||
property var news:[]
|
||||
property var newContacts:[]
|
||||
property string contactLoadType: ""
|
||||
//property string contactLoadType: ""
|
||||
property bool imagePicking: false
|
||||
|
||||
onLoginChanged:{
|
||||
|
@ -95,23 +95,14 @@ TabView{
|
|||
xhr.setContactlist(contactnames);
|
||||
xhr.setImagedir(login.imagestore);
|
||||
xhr.getlist();
|
||||
// Service.processNews(function(){
|
||||
// root.contactLoadType="";
|
||||
// root.news=[];
|
||||
// })
|
||||
}
|
||||
// else if (contactLoadType!=""){
|
||||
// Service.processNews(function(){
|
||||
// root.contactLoadType="";
|
||||
// root.news=[];
|
||||
// })}
|
||||
|
||||
}
|
||||
|
||||
Connections{
|
||||
target:xhr
|
||||
onDownloaded:{
|
||||
if(type=="contactlist"){
|
||||
//print("contact image saved"+Date.now()+" "+filename+" "+url);
|
||||
var database=LocalStorage.openDatabaseSync(root.db[0],root.db[1],root.db[2],root.db[3]);
|
||||
var result;
|
||||
database.transaction( function(tx) {
|
||||
|
@ -173,6 +164,7 @@ TabView{
|
|||
id: newstab
|
||||
property string newstabstatus
|
||||
property var conversation:[]
|
||||
property var contactposts:[]
|
||||
source:(root.currentIndex==0)? "qrc:/qml/newsqml/NewsTab.qml":""
|
||||
}
|
||||
Tab{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue