userguide/src/HelpDataProvider.cpp
changeset 18 375271912456
parent 15 c0dfc135a46c
child 23 99b096216bc8
equal deleted inserted replaced
15:c0dfc135a46c 18:375271912456
   215 		uid.append(temp[0]);
   215 		uid.append(temp[0]);
   216 		HelpStandardItem* item = constructCategory2(temp[1], uid);
   216 		HelpStandardItem* item = constructCategory2(temp[1], uid);
   217 		if(item)
   217 		if(item)
   218 		{
   218 		{
   219 			mHelpModel->appendRow(item);
   219 			mHelpModel->appendRow(item);
   220 //			constructKeywordModel(uid);
       
   221 		}
   220 		}
   222 	}
   221 	}
   223 	file.close();
   222 	file.close();
   224 	mHelpModel->sort(0, HelpUtils::sortOrder());
   223 	mHelpModel->sort(0, HelpUtils::sortOrder());
   225 }
   224 }
   320 		HelpStandardItem* item = constructCategory2(titleStr, pathTemp);
   319 		HelpStandardItem* item = constructCategory2(titleStr, pathTemp);
   321 		if(item)
   320 		if(item)
   322 		{
   321 		{
   323 			if(!itemApp)
   322 			if(!itemApp)
   324 			{
   323 			{
   325 				itemApp = new HelpStandardItem("Applications");
   324 				itemApp = new HelpStandardItem(qtTrId(TXT_APPLICATIONS));
   326 			}
   325 			}
   327 			itemApp->appendRow(item);
   326 			itemApp->appendRow(item);
   328 //			constructKeywordModel(pathTemp);
       
   329 		}
   327 		}
   330 		file.close();
   328 		file.close();
   331 	}
   329 	}
   332 
   330 
   333 	if(itemApp)
   331 	if(itemApp)