dcop Library: type.h Source File (dcop Library)

| # dcop Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# 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.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:16:55 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003