dcop Library API Documentation

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
KDE Logo
This file is part of the documentation for dcop Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 10 18:54:47 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003