summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/tests
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/tests')
-rw-r--r--kode/kwsdl/tests/google/directorycategory.cpp4
-rw-r--r--kode/kwsdl/tests/google/directorycategory.h4
-rw-r--r--kode/kwsdl/tests/google/directorycategoryarray.cpp4
-rw-r--r--kode/kwsdl/tests/google/directorycategoryarray.h4
-rw-r--r--kode/kwsdl/tests/google/googlesearch.cc4
-rw-r--r--kode/kwsdl/tests/google/googlesearch.hh7
-rw-r--r--kode/kwsdl/tests/google/googlesearchresult.cpp4
-rw-r--r--kode/kwsdl/tests/google/googlesearchresult.h4
-rw-r--r--kode/kwsdl/tests/google/googlesearchservice.cpp4
-rw-r--r--kode/kwsdl/tests/google/googlesearchservice.h7
-rw-r--r--kode/kwsdl/tests/google/resultelement.cpp4
-rw-r--r--kode/kwsdl/tests/google/resultelement.h4
-rw-r--r--kode/kwsdl/tests/google/resultelementarray.cpp4
-rw-r--r--kode/kwsdl/tests/google/resultelementarray.h4
-rw-r--r--kode/kwsdl/tests/google/serializer.cpp104
-rw-r--r--kode/kwsdl/tests/google/serializer.h48
-rw-r--r--kode/kwsdl/tests/google/transport.cpp4
-rw-r--r--kode/kwsdl/tests/google/transport.h7
18 files changed, 114 insertions, 111 deletions
diff --git a/kode/kwsdl/tests/google/directorycategory.cpp b/kode/kwsdl/tests/google/directorycategory.cpp
index 6a61dab53..e4cc56054 100644
--- a/kode/kwsdl/tests/google/directorycategory.cpp
+++ b/kode/kwsdl/tests/google/directorycategory.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "directorycategory.h"
diff --git a/kode/kwsdl/tests/google/directorycategory.h b/kode/kwsdl/tests/google/directorycategory.h
index d7805e500..3230dfb16 100644
--- a/kode/kwsdl/tests/google/directorycategory.h
+++ b/kode/kwsdl/tests/google/directorycategory.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef DIRECTORYCATEGORY_H
#define DIRECTORYCATEGORY_H
diff --git a/kode/kwsdl/tests/google/directorycategoryarray.cpp b/kode/kwsdl/tests/google/directorycategoryarray.cpp
index b8305222c..b290fc3da 100644
--- a/kode/kwsdl/tests/google/directorycategoryarray.cpp
+++ b/kode/kwsdl/tests/google/directorycategoryarray.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "directorycategoryarray.h"
diff --git a/kode/kwsdl/tests/google/directorycategoryarray.h b/kode/kwsdl/tests/google/directorycategoryarray.h
index f4c279952..adce04e9d 100644
--- a/kode/kwsdl/tests/google/directorycategoryarray.h
+++ b/kode/kwsdl/tests/google/directorycategoryarray.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef DIRECTORYCATEGORYARRAY_H
#define DIRECTORYCATEGORYARRAY_H
diff --git a/kode/kwsdl/tests/google/googlesearch.cc b/kode/kwsdl/tests/google/googlesearch.cc
index 5e26c769a..d60c04172 100644
--- a/kode/kwsdl/tests/google/googlesearch.cc
+++ b/kode/kwsdl/tests/google/googlesearch.cc
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "googlesearch.hh"
diff --git a/kode/kwsdl/tests/google/googlesearch.hh b/kode/kwsdl/tests/google/googlesearch.hh
index a1c490bbf..b64006161 100644
--- a/kode/kwsdl/tests/google/googlesearch.hh
+++ b/kode/kwsdl/tests/google/googlesearch.hh
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef GOOGLESEARCH_H
@@ -28,9 +28,10 @@
#include <tqobject.h>
#include "googlesearchservice.h"
-class GoogleSearch : public QObject
+class GoogleSearch : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
GoogleSearch();
diff --git a/kode/kwsdl/tests/google/googlesearchresult.cpp b/kode/kwsdl/tests/google/googlesearchresult.cpp
index faa209ce6..451ff4e57 100644
--- a/kode/kwsdl/tests/google/googlesearchresult.cpp
+++ b/kode/kwsdl/tests/google/googlesearchresult.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "googlesearchresult.h"
diff --git a/kode/kwsdl/tests/google/googlesearchresult.h b/kode/kwsdl/tests/google/googlesearchresult.h
index 537bb1bc1..251053b35 100644
--- a/kode/kwsdl/tests/google/googlesearchresult.h
+++ b/kode/kwsdl/tests/google/googlesearchresult.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef GOOGLESEARCHRESULT_H
#define GOOGLESEARCHRESULT_H
diff --git a/kode/kwsdl/tests/google/googlesearchservice.cpp b/kode/kwsdl/tests/google/googlesearchservice.cpp
index a45aec9e4..e609249ee 100644
--- a/kode/kwsdl/tests/google/googlesearchservice.cpp
+++ b/kode/kwsdl/tests/google/googlesearchservice.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "googlesearchservice.h"
diff --git a/kode/kwsdl/tests/google/googlesearchservice.h b/kode/kwsdl/tests/google/googlesearchservice.h
index 6efd65239..7e79fdba1 100644
--- a/kode/kwsdl/tests/google/googlesearchservice.h
+++ b/kode/kwsdl/tests/google/googlesearchservice.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef GOOGLESEARCHSERVICE_H
#define GOOGLESEARCHSERVICE_H
@@ -30,9 +30,10 @@
#include <tqcstring.h>
#include <googlesearchresult.h>
-class GoogleSearchService : public QObject
+class GoogleSearchService : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
void doGetCachedPage( TQString* key, TQString* url );
diff --git a/kode/kwsdl/tests/google/resultelement.cpp b/kode/kwsdl/tests/google/resultelement.cpp
index c340f8b04..f4e78a01f 100644
--- a/kode/kwsdl/tests/google/resultelement.cpp
+++ b/kode/kwsdl/tests/google/resultelement.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "resultelement.h"
diff --git a/kode/kwsdl/tests/google/resultelement.h b/kode/kwsdl/tests/google/resultelement.h
index bf13486c8..b66ae7166 100644
--- a/kode/kwsdl/tests/google/resultelement.h
+++ b/kode/kwsdl/tests/google/resultelement.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef RESULTELEMENT_H
#define RESULTELEMENT_H
diff --git a/kode/kwsdl/tests/google/resultelementarray.cpp b/kode/kwsdl/tests/google/resultelementarray.cpp
index 0ea65755f..210f57db4 100644
--- a/kode/kwsdl/tests/google/resultelementarray.cpp
+++ b/kode/kwsdl/tests/google/resultelementarray.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "resultelementarray.h"
diff --git a/kode/kwsdl/tests/google/resultelementarray.h b/kode/kwsdl/tests/google/resultelementarray.h
index 972171172..7303a2831 100644
--- a/kode/kwsdl/tests/google/resultelementarray.h
+++ b/kode/kwsdl/tests/google/resultelementarray.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef RESULTELEMENTARRAY_H
#define RESULTELEMENTARRAY_H
diff --git a/kode/kwsdl/tests/google/serializer.cpp b/kode/kwsdl/tests/google/serializer.cpp
index 4b0ea8ba3..281f3269a 100644
--- a/kode/kwsdl/tests/google/serializer.cpp
+++ b/kode/kwsdl/tests/google/serializer.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "serializer.h"
@@ -41,12 +41,12 @@ void Serializer::demarshalValue( const TQString &str, TQString *value )
*value = str;
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQString* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQString* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:string" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, TQString* value )
@@ -64,12 +64,12 @@ void Serializer::demarshalValue( const TQString &str, bool *value )
*value = (str.lower() == "true" ? true : false);
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const bool* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const bool* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:boolean" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, bool* value )
@@ -87,12 +87,12 @@ void Serializer::demarshalValue( const TQString &str, float *value )
*value = str.toFloat();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const float* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const float* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:TODO" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, float* value )
@@ -110,12 +110,12 @@ void Serializer::demarshalValue( const TQString &str, int *value )
*value = str.toInt();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const int* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const int* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:int" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, int* value )
@@ -133,12 +133,12 @@ void Serializer::demarshalValue( const TQString &str, unsigned int *value )
*value = str.toUInt();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const unsigned int* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const unsigned int* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:unsignedByte" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, unsigned int* value )
@@ -156,12 +156,12 @@ void Serializer::demarshalValue( const TQString &str, double *value )
*value = str.toDouble();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const double* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const double* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:double" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, double* value )
@@ -179,12 +179,12 @@ void Serializer::demarshalValue( const TQString &str, char *value )
*value = str[ 0 ].latin1();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const char* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const char* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:byte" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, char* value )
@@ -202,12 +202,12 @@ void Serializer::demarshalValue( const TQString &str, unsigned char *value )
*value = str[ 0 ].latin1();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const unsigned char* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const unsigned char* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:unsignedByte" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, unsigned char* value )
@@ -225,12 +225,12 @@ void Serializer::demarshalValue( const TQString &str, short *value )
*value = str.toShort();
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const short* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const short* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:short" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, short* value )
@@ -248,12 +248,12 @@ void Serializer::demarshalValue( const TQString &str, TQByteArray *value )
*value = KCodecs::base64Decode( str.utf8() );
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQByteArray* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQByteArray* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:base64Binary" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, TQByteArray* value )
@@ -263,20 +263,20 @@ void Serializer::demarshal( const TQDomElement &element, TQByteArray* value )
TQString Serializer::marshalValue( const TQDateTime* value )
{
- return value->toString( Qt::ISODate );
+ return value->toString( TQt::ISODate );
}
void Serializer::demarshalValue( const TQString &str, TQDateTime *value )
{
- *value = TQDateTime::fromString( str, Qt::ISODate );
+ *value = TQDateTime::fromString( str, TQt::ISODate );
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQDateTime* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQDateTime* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:dateTime" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, TQDateTime* value )
@@ -286,20 +286,20 @@ void Serializer::demarshal( const TQDomElement &element, TQDateTime* value )
TQString Serializer::marshalValue( const TQDate* value )
{
- return value->toString( Qt::ISODate );
+ return value->toString( TQt::ISODate );
}
void Serializer::demarshalValue( const TQString &str, TQDate *value )
{
- *value = TQDate::fromString( str, Qt::ISODate );
+ *value = TQDate::fromString( str, TQt::ISODate );
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQDate* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQDate* value )
{
TQDomElement element = doc.createElement( name );
element.setAttribute( "xsi:type", "xsd:date" );
element.appendChild( doc.createTextNode( Serializer::marshalValue( value ) ) );
- parent.appendChild( element );
+ tqparent.appendChild( element );
}
void Serializer::demarshal( const TQDomElement &element, TQDate* value )
@@ -307,11 +307,11 @@ void Serializer::demarshal( const TQDomElement &element, TQDate* value )
Serializer::demarshalValue( element.text(), value );
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const ResultElementArray* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const ResultElementArray* value )
{
TQDomElement root = doc.createElement( name );
root.setAttribute( "xsi:type", "ns1:ResultElementArray" );
- parent.appendChild( root );
+ tqparent.appendChild( root );
if ( value->items() ) {
const TQPtrList<ResultElement>* list = value->items();
@@ -319,7 +319,7 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
element.setAttribute( "xmlns:ns1", "http://schemas.xmlsoap.org/soap/encoding/" );
element.setAttribute( "xsi:type", "ns1:Array" );
element.setAttribute( "ns1:arrayType", "ns1:ResultElement[" + TQString::number( list->count() ) + "]" );
- parent.appendChild( element );
+ tqparent.appendChild( element );
TQPtrListIterator<ResultElement> it( *list );
while ( it.current() != 0 ) {
@@ -329,11 +329,11 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
}
}
-void Serializer::demarshal( const TQDomElement &parent, ResultElementArray* value )
+void Serializer::demarshal( const TQDomElement &tqparent, ResultElementArray* value )
{
TQPtrList<ResultElement>* itemsList = new TQPtrList<ResultElement>();
itemsList->setAutoDelete( true );
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -349,11 +349,11 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElementArray* valu
value->setItems( itemsList );
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const DirectoryCategoryArray* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const DirectoryCategoryArray* value )
{
TQDomElement root = doc.createElement( name );
root.setAttribute( "xsi:type", "ns1:DirectoryCategoryArray" );
- parent.appendChild( root );
+ tqparent.appendChild( root );
if ( value->items() ) {
const TQPtrList<DirectoryCategory>* list = value->items();
@@ -361,7 +361,7 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
element.setAttribute( "xmlns:ns1", "http://schemas.xmlsoap.org/soap/encoding/" );
element.setAttribute( "xsi:type", "ns1:Array" );
element.setAttribute( "ns1:arrayType", "ns1:DirectoryCategory[" + TQString::number( list->count() ) + "]" );
- parent.appendChild( element );
+ tqparent.appendChild( element );
TQPtrListIterator<DirectoryCategory> it( *list );
while ( it.current() != 0 ) {
@@ -371,11 +371,11 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
}
}
-void Serializer::demarshal( const TQDomElement &parent, DirectoryCategoryArray* value )
+void Serializer::demarshal( const TQDomElement &tqparent, DirectoryCategoryArray* value )
{
TQPtrList<DirectoryCategory>* itemsList = new TQPtrList<DirectoryCategory>();
itemsList->setAutoDelete( true );
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -391,11 +391,11 @@ void Serializer::demarshal( const TQDomElement &parent, DirectoryCategoryArray*
value->setItems( itemsList );
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const GoogleSearchResult* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const GoogleSearchResult* value )
{
TQDomElement root = doc.createElement( name );
root.setAttribute( "xsi:type", "ns1:GoogleSearchResult" );
- parent.appendChild( root );
+ tqparent.appendChild( root );
if ( value->documentFiltering() ) {
Serializer::marshal( doc, root, "documentFiltering", value->documentFiltering() );
}
@@ -431,9 +431,9 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
}
}
-void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* value )
+void Serializer::demarshal( const TQDomElement &tqparent, GoogleSearchResult* value )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -498,11 +498,11 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const DirectoryCategory* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const DirectoryCategory* value )
{
TQDomElement root = doc.createElement( name );
root.setAttribute( "xsi:type", "ns1:DirectoryCategory" );
- parent.appendChild( root );
+ tqparent.appendChild( root );
if ( value->fullViewableName() ) {
Serializer::marshal( doc, root, "fullViewableName", value->fullViewableName() );
}
@@ -511,9 +511,9 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
}
}
-void Serializer::demarshal( const TQDomElement &parent, DirectoryCategory* value )
+void Serializer::demarshal( const TQDomElement &tqparent, DirectoryCategory* value )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -533,11 +533,11 @@ void Serializer::demarshal( const TQDomElement &parent, DirectoryCategory* value
}
-void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const ResultElement* value )
+void Serializer::marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const ResultElement* value )
{
TQDomElement root = doc.createElement( name );
root.setAttribute( "xsi:type", "ns1:ResultElement" );
- parent.appendChild( root );
+ tqparent.appendChild( root );
if ( value->summary() ) {
Serializer::marshal( doc, root, "summary", value->summary() );
}
@@ -567,9 +567,9 @@ void Serializer::marshal( TQDomDocument &doc, TQDomElement &parent, const TQStri
}
}
-void Serializer::demarshal( const TQDomElement &parent, ResultElement* value )
+void Serializer::demarshal( const TQDomElement &tqparent, ResultElement* value )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
diff --git a/kode/kwsdl/tests/google/serializer.h b/kode/kwsdl/tests/google/serializer.h
index eb60d3f26..4b5ff1921 100644
--- a/kode/kwsdl/tests/google/serializer.h
+++ b/kode/kwsdl/tests/google/serializer.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef SERIALIZER_H
#define SERIALIZER_H
@@ -41,62 +41,62 @@ class Serializer
public:
static TQString marshalValue( const TQString* value );
static void demarshalValue( const TQString &str, TQString *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQString* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQString* value );
static void demarshal( const TQDomElement &element, TQString* value );
static TQString marshalValue( const bool* value );
static void demarshalValue( const TQString &str, bool *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const bool* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const bool* value );
static void demarshal( const TQDomElement &element, bool* value );
static TQString marshalValue( const float* value );
static void demarshalValue( const TQString &str, float *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const float* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const float* value );
static void demarshal( const TQDomElement &element, float* value );
static TQString marshalValue( const int* value );
static void demarshalValue( const TQString &str, int *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const int* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const int* value );
static void demarshal( const TQDomElement &element, int* value );
static TQString marshalValue( const unsigned int* value );
static void demarshalValue( const TQString &str, unsigned int *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const unsigned int* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const unsigned int* value );
static void demarshal( const TQDomElement &element, unsigned int* value );
static TQString marshalValue( const double* value );
static void demarshalValue( const TQString &str, double *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const double* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const double* value );
static void demarshal( const TQDomElement &element, double* value );
static TQString marshalValue( const char* value );
static void demarshalValue( const TQString &str, char *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const char* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const char* value );
static void demarshal( const TQDomElement &element, char* value );
static TQString marshalValue( const unsigned char* value );
static void demarshalValue( const TQString &str, unsigned char *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const unsigned char* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const unsigned char* value );
static void demarshal( const TQDomElement &element, unsigned char* value );
static TQString marshalValue( const short* value );
static void demarshalValue( const TQString &str, short *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const short* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const short* value );
static void demarshal( const TQDomElement &element, short* value );
static TQString marshalValue( const TQByteArray* value );
static void demarshalValue( const TQString &str, TQByteArray *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQByteArray* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQByteArray* value );
static void demarshal( const TQDomElement &element, TQByteArray* value );
static TQString marshalValue( const TQDateTime* value );
static void demarshalValue( const TQString &str, TQDateTime *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQDateTime* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQDateTime* value );
static void demarshal( const TQDomElement &element, TQDateTime* value );
static TQString marshalValue( const TQDate* value );
static void demarshalValue( const TQString &str, TQDate *value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const TQDate* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const TQDate* value );
static void demarshal( const TQDomElement &element, TQDate* value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const ResultElementArray* value );
- static void demarshal( const TQDomElement &parent, ResultElementArray* value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const DirectoryCategoryArray* value );
- static void demarshal( const TQDomElement &parent, DirectoryCategoryArray* value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const GoogleSearchResult* value );
- static void demarshal( const TQDomElement &parent, GoogleSearchResult* value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const DirectoryCategory* value );
- static void demarshal( const TQDomElement &parent, DirectoryCategory* value );
- static void marshal( TQDomDocument &doc, TQDomElement &parent, const TQString &name, const ResultElement* value );
- static void demarshal( const TQDomElement &parent, ResultElement* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const ResultElementArray* value );
+ static void demarshal( const TQDomElement &tqparent, ResultElementArray* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const DirectoryCategoryArray* value );
+ static void demarshal( const TQDomElement &tqparent, DirectoryCategoryArray* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const GoogleSearchResult* value );
+ static void demarshal( const TQDomElement &tqparent, GoogleSearchResult* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const DirectoryCategory* value );
+ static void demarshal( const TQDomElement &tqparent, DirectoryCategory* value );
+ static void marshal( TQDomDocument &doc, TQDomElement &tqparent, const TQString &name, const ResultElement* value );
+ static void demarshal( const TQDomElement &tqparent, ResultElement* value );
};
diff --git a/kode/kwsdl/tests/google/transport.cpp b/kode/kwsdl/tests/google/transport.cpp
index 5d7d92f2b..55d3c7a88 100644
--- a/kode/kwsdl/tests/google/transport.cpp
+++ b/kode/kwsdl/tests/google/transport.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "transport.h"
diff --git a/kode/kwsdl/tests/google/transport.h b/kode/kwsdl/tests/google/transport.h
index f2386832f..54dbf6941 100644
--- a/kode/kwsdl/tests/google/transport.h
+++ b/kode/kwsdl/tests/google/transport.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef TRANSPORT_H
#define TRANSPORT_H
@@ -27,9 +27,10 @@
#include <tqobject.h>
#include <kio/job.h>
-class Transport : public QObject
+class Transport : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
Transport( const TQString &url );