type.h
00001
#ifndef TYPE_H
00002
#define TYPE_H
00003
00004
#include <qtextstream.h>
00005
#include <qdom.h>
00006
00007
static QString writeType(
QTextStream& str,
const QDomElement& r )
00008 {
00009 Q_ASSERT( r.tagName() ==
"TYPE" );
00010
if ( r.hasAttribute(
"qleft" ) )
00011 str << r.attribute(
"qleft") <<
" ";
00012
QString t = r.firstChild().toText().data();
00013 t = t.replace(
">>",
"> >" );
00014 str << t;
00015
if ( r.hasAttribute(
"qright" ) )
00016 str << r.attribute(
"qright") <<
" ";
00017
else
00018 str <<
" ";
00019
return t;
00020 }
00021
00022
#endif
This file is part of the documentation for dcop Library Version 3.4.0.