From 1c3e6a878f147d063b43948dd8a3f06da195e7ea Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:28:10 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1158452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kwsdl/kung/binaryinputfield.h | 4 ++-- kode/kwsdl/kung/boolinputfield.h | 2 +- kode/kwsdl/kung/inputfield.h | 2 +- kode/kwsdl/kung/listinputfield.h | 4 ++-- kode/kwsdl/kung/stringinputfield.h | 2 +- kode/kwsdl/tests/google/directorycategory.h | 2 +- kode/kwsdl/tests/google/googlesearchresult.h | 2 +- kode/kwsdl/tests/google/googlesearchservice.cpp | 4 ++-- kode/kwsdl/tests/google/resultelement.h | 2 +- kode/kwsdl/tests/google/serializer.cpp | 24 ++++++++++++------------ 10 files changed, 24 insertions(+), 24 deletions(-) (limited to 'kode') diff --git a/kode/kwsdl/kung/binaryinputfield.h b/kode/kwsdl/kung/binaryinputfield.h index 479828f52..e38938016 100644 --- a/kode/kwsdl/kung/binaryinputfield.h +++ b/kode/kwsdl/kung/binaryinputfield.h @@ -27,8 +27,8 @@ #include "inputfield.h" class BinaryWidget; -class QGridLayout; -class QPushButton; +class TQGridLayout; +class TQPushButton; class BinaryInputField : public SimpleInputField { diff --git a/kode/kwsdl/kung/boolinputfield.h b/kode/kwsdl/kung/boolinputfield.h index f5cd9cf22..6ec98c86a 100644 --- a/kode/kwsdl/kung/boolinputfield.h +++ b/kode/kwsdl/kung/boolinputfield.h @@ -26,7 +26,7 @@ #include "inputfield.h" -class QCheckBox; +class TQCheckBox; class BoolInputField : public SimpleInputField { diff --git a/kode/kwsdl/kung/inputfield.h b/kode/kwsdl/kung/inputfield.h index 1f6242d34..58b2d23bd 100644 --- a/kode/kwsdl/kung/inputfield.h +++ b/kode/kwsdl/kung/inputfield.h @@ -27,7 +27,7 @@ #include #include -class QWidget; +class TQWidget; namespace Schema { class SimpleType; diff --git a/kode/kwsdl/kung/listinputfield.h b/kode/kwsdl/kung/listinputfield.h index 57430d2e4..acf1e1c38 100644 --- a/kode/kwsdl/kung/listinputfield.h +++ b/kode/kwsdl/kung/listinputfield.h @@ -27,8 +27,8 @@ #include "inputfield.h" class ListWidget; -class QListBox; -class QPushButton; +class TQListBox; +class TQPushButton; class ListInputField : public SimpleInputField { diff --git a/kode/kwsdl/kung/stringinputfield.h b/kode/kwsdl/kung/stringinputfield.h index 0ef30164d..f8e8d5468 100644 --- a/kode/kwsdl/kung/stringinputfield.h +++ b/kode/kwsdl/kung/stringinputfield.h @@ -26,7 +26,7 @@ #include "inputfield.h" -class QLineEdit; +class TQLineEdit; class StringInputField : public SimpleInputField { diff --git a/kode/kwsdl/tests/google/directorycategory.h b/kode/kwsdl/tests/google/directorycategory.h index 82dadedc0..d7805e500 100644 --- a/kode/kwsdl/tests/google/directorycategory.h +++ b/kode/kwsdl/tests/google/directorycategory.h @@ -24,7 +24,7 @@ #ifndef DIRECTORYCATEGORY_H #define DIRECTORYCATEGORY_H -class QString; +class TQString; class DirectoryCategory { diff --git a/kode/kwsdl/tests/google/googlesearchresult.h b/kode/kwsdl/tests/google/googlesearchresult.h index c2cfa16dc..537bb1bc1 100644 --- a/kode/kwsdl/tests/google/googlesearchresult.h +++ b/kode/kwsdl/tests/google/googlesearchresult.h @@ -24,7 +24,7 @@ #ifndef GOOGLESEARCHRESULT_H #define GOOGLESEARCHRESULT_H -class QString; +class TQString; class ResultElementArray; class DirectoryCategoryArray; diff --git a/kode/kwsdl/tests/google/googlesearchservice.cpp b/kode/kwsdl/tests/google/googlesearchservice.cpp index 3ccdb4935..a45aec9e4 100644 --- a/kode/kwsdl/tests/google/googlesearchservice.cpp +++ b/kode/kwsdl/tests/google/googlesearchservice.cpp @@ -63,7 +63,7 @@ void GoogleSearchService::doGetCachedPageResponseSlot( const TQString &xml ) return; } - TQByteArray* value = new QByteArray; + TQByteArray* value = new TQByteArray; TQDomElement envelope = doc.documentElement(); TQDomElement body = envelope.firstChild().toElement(); TQDomElement method = body.firstChild().toElement(); @@ -109,7 +109,7 @@ void GoogleSearchService::doSpellingSuggestionResponseSlot( const TQString &xml return; } - TQString* value = new QString; + TQString* value = new TQString; TQDomElement envelope = doc.documentElement(); TQDomElement body = envelope.firstChild().toElement(); TQDomElement method = body.firstChild().toElement(); diff --git a/kode/kwsdl/tests/google/resultelement.h b/kode/kwsdl/tests/google/resultelement.h index e83ff3713..bf13486c8 100644 --- a/kode/kwsdl/tests/google/resultelement.h +++ b/kode/kwsdl/tests/google/resultelement.h @@ -24,7 +24,7 @@ #ifndef RESULTELEMENT_H #define RESULTELEMENT_H -class QString; +class TQString; class DirectoryCategory; class ResultElement diff --git a/kode/kwsdl/tests/google/serializer.cpp b/kode/kwsdl/tests/google/serializer.cpp index 273ce5929..4b0ea8ba3 100644 --- a/kode/kwsdl/tests/google/serializer.cpp +++ b/kode/kwsdl/tests/google/serializer.cpp @@ -443,7 +443,7 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu value->setDocumentFiltering( item ); } if ( element.tagName() == "searchComments" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setSearchComments( item ); } @@ -463,7 +463,7 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu value->setResultElements( item ); } if ( element.tagName() == "searchQuery" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setSearchQuery( item ); } @@ -478,7 +478,7 @@ void Serializer::demarshal( const TQDomElement &parent, GoogleSearchResult* valu value->setEndIndex( item ); } if ( element.tagName() == "searchTips" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setSearchTips( item ); } @@ -518,12 +518,12 @@ void Serializer::demarshal( const TQDomElement &parent, DirectoryCategory* value TQDomElement element = node.toElement(); if ( !element.isNull() ) { if ( element.tagName() == "fullViewableName" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setFullViewableName( item ); } if ( element.tagName() == "specialEncoding" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setSpecialEncoding( item ); } @@ -574,27 +574,27 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElement* value ) TQDomElement element = node.toElement(); if ( !element.isNull() ) { if ( element.tagName() == "summary" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setSummary( item ); } if ( element.tagName() == "URL" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setURL( item ); } if ( element.tagName() == "snippet" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setSnippet( item ); } if ( element.tagName() == "title" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setTitle( item ); } if ( element.tagName() == "cachedSize" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setCachedSize( item ); } @@ -604,7 +604,7 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElement* value ) value->setRelatedInformationPresent( item ); } if ( element.tagName() == "hostName" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setHostName( item ); } @@ -614,7 +614,7 @@ void Serializer::demarshal( const TQDomElement &parent, ResultElement* value ) value->setDirectoryCategory( item ); } if ( element.tagName() == "directoryTitle" ) { - TQString* item = new QString; + TQString* item = new TQString; Serializer::demarshal( element, item ); value->setDirectoryTitle( item ); } -- cgit v1.2.1