summaryrefslogtreecommitdiffstats
path: root/kode/kxml_compiler
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:31:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:31:57 +0900
commit30555507108fe0b2b3f9ded9de37f38d4a1d9c50 (patch)
tree679a8ece19669a02cef46213fa85252c297a4aff /kode/kxml_compiler
parent0e1649599e9aea4fccb8435fbf74796e0756d282 (diff)
downloadtdepim-30555507108fe0b2b3f9ded9de37f38d4a1d9c50.tar.gz
tdepim-30555507108fe0b2b3f9ded9de37f38d4a1d9c50.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kode/kxml_compiler')
-rw-r--r--kode/kxml_compiler/creator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kode/kxml_compiler/creator.cpp b/kode/kxml_compiler/creator.cpp
index bc330eaf9..26eb2e22a 100644
--- a/kode/kxml_compiler/creator.cpp
+++ b/kode/kxml_compiler/creator.cpp
@@ -95,7 +95,7 @@ void Creator::createProperty( KODE::Class &c, const TQString &type,
void Creator::createElementFunctions( KODE::Class &c, Element *e )
{
if ( e->hasText ) {
- createProperty( c, TQSTRING_OBJECT_NAME_STRING, e->name );
+ createProperty( c, "TQString", e->name );
if ( mXmlParserType == XmlParserCustomExternal ) {
createTextElementParserCustom( c, e );
}
@@ -150,7 +150,7 @@ void Creator::createClass( Element *element )
itA != element->attributes.end(); ++itA ) {
Attribute *a = *itA;
- createProperty( c, TQSTRING_OBJECT_NAME_STRING, a->name );
+ createProperty( c, "TQString", a->name );
}
TQValueList<Element *>::ConstIterator itE;
@@ -176,7 +176,7 @@ void Creator::createClass( Element *element )
void Creator::createElementWriter( KODE::Class &c, Element *element )
{
- KODE::Function writer( "writeElement", TQSTRING_OBJECT_NAME_STRING );
+ KODE::Function writer( "writeElement", "TQString" );
KODE::Code code;
@@ -268,7 +268,7 @@ void Creator::createElementParser( KODE::Class &c, Element *e )
void Creator::createTextElementParserCustom( KODE::Class &, Element *e )
{
- KODE::Function parser( "parseElement" + upperFirst( e->name ), TQSTRING_OBJECT_NAME_STRING );
+ KODE::Function parser( "parseElement" + upperFirst( e->name ), "TQString" );
KODE::Code code;
@@ -637,7 +637,7 @@ void Creator::createListTypedefs()
void Creator::createIndenter( KODE::File &file )
{
- KODE::Function indenter( "indent", TQSTRING_OBJECT_NAME_STRING );
+ KODE::Function indenter( "indent", "TQString" );
indenter.addArgument( "int n = 0" );
KODE::Code code;
@@ -724,7 +724,7 @@ void Creator::createFileParserCustom( Element *element )
mParserClass.addInclude( "kdebug.h" );
mParserClass.addMemberVariable( KODE::MemberVariable( "mBuffer",
- TQSTRING_OBJECT_NAME_STRING ) );
+ "TQString" ) );
mParserClass.addMemberVariable( KODE::MemberVariable( "mRunning",
"unsigned int" ) );