You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/dcop/dcopidl2cpp/type.h

23 lines
474 B

#ifndef TYPE_H
#define TYPE_H
#include <tqtextstream.h>
#include <tqdom.h>
static TQString writeType( TQTextStream& str, const TQDomElement& r )
{
Q_ASSERT( r.tagName() == "TYPE" );
if ( r.hasAttribute( "qleft" ) )
str << r.attribute("qleft") << " ";
TQString t = r.firstChild().toText().data();
t = t.replace( ">>", "> >" );
str << t;
if ( r.hasAttribute( "qright" ) )
str << r.attribute("qright") << " ";
else
str << " ";
return t;
}
#endif