|
|
@ -443,7 +443,7 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu
|
|
|
|
value->setDocumentFiltering( item );
|
|
|
|
value->setDocumentFiltering( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "searchComments" ) {
|
|
|
|
if ( element.tagName() == "searchComments" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setSearchComments( item );
|
|
|
|
value->setSearchComments( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -463,7 +463,7 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu
|
|
|
|
value->setResultElements( item );
|
|
|
|
value->setResultElements( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "searchQuery" ) {
|
|
|
|
if ( element.tagName() == "searchQuery" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setSearchQuery( item );
|
|
|
|
value->setSearchQuery( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -478,7 +478,7 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu
|
|
|
|
value->setEndIndex( item );
|
|
|
|
value->setEndIndex( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "searchTips" ) {
|
|
|
|
if ( element.tagName() == "searchTips" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setSearchTips( item );
|
|
|
|
value->setSearchTips( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -518,12 +518,12 @@ void Serializer::demarshal( const TQDomElement &parent, DirectoryCategory* value
|
|
|
|
TQDomElement element = node.toElement();
|
|
|
|
TQDomElement element = node.toElement();
|
|
|
|
if ( !element.isNull() ) {
|
|
|
|
if ( !element.isNull() ) {
|
|
|
|
if ( element.tagName() == "fullViewableName" ) {
|
|
|
|
if ( element.tagName() == "fullViewableName" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setFullViewableName( item );
|
|
|
|
value->setFullViewableName( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "specialEncoding" ) {
|
|
|
|
if ( element.tagName() == "specialEncoding" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setSpecialEncoding( item );
|
|
|
|
value->setSpecialEncoding( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -574,27 +574,27 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElement* value )
|
|
|
|
TQDomElement element = node.toElement();
|
|
|
|
TQDomElement element = node.toElement();
|
|
|
|
if ( !element.isNull() ) {
|
|
|
|
if ( !element.isNull() ) {
|
|
|
|
if ( element.tagName() == "summary" ) {
|
|
|
|
if ( element.tagName() == "summary" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setSummary( item );
|
|
|
|
value->setSummary( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "URL" ) {
|
|
|
|
if ( element.tagName() == "URL" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setURL( item );
|
|
|
|
value->setURL( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "snippet" ) {
|
|
|
|
if ( element.tagName() == "snippet" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setSnippet( item );
|
|
|
|
value->setSnippet( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "title" ) {
|
|
|
|
if ( element.tagName() == "title" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setTitle( item );
|
|
|
|
value->setTitle( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "cachedSize" ) {
|
|
|
|
if ( element.tagName() == "cachedSize" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setCachedSize( item );
|
|
|
|
value->setCachedSize( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -604,7 +604,7 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElement* value )
|
|
|
|
value->setRelatedInformationPresent( item );
|
|
|
|
value->setRelatedInformationPresent( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "hostName" ) {
|
|
|
|
if ( element.tagName() == "hostName" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setHostName( item );
|
|
|
|
value->setHostName( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -614,7 +614,7 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElement* value )
|
|
|
|
value->setDirectoryCategory( item );
|
|
|
|
value->setDirectoryCategory( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( element.tagName() == "directoryTitle" ) {
|
|
|
|
if ( element.tagName() == "directoryTitle" ) {
|
|
|
|
TQString* item = new QString;
|
|
|
|
TQString* item = new TQString;
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
Serializer::demarshal( element, item );
|
|
|
|
value->setDirectoryTitle( item );
|
|
|
|
value->setDirectoryTitle( item );
|
|
|
|
}
|
|
|
|
}
|
|
|
|