Skip to content
Permalink
Browse files
split some utils methods
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 19, 2021
1 parent e690c8e commit 2ce22fe6c6f116bfbb18bd6bc06340ca5d583f30
@@ -0,0 +1,24 @@
/***************************************************************************
testgeometryutils.h
--------------------------------------
Date : August 2021
Copyright : (C) 2021 by Loïc Bartoletti
Email : loic dot bartoletti at oslandia dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

QString elemToString( const QDomElement &elem )
{
QString s;
QTextStream stream( &s );
elem.save( stream, -1 );

return s;
}

0 comments on commit 2ce22fe

Please sign in to comment.