Skip to content

Commit

Permalink
split some utils methods
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 19, 2021
1 parent e690c8e commit 2ce22fe
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 783 deletions.
24 changes: 24 additions & 0 deletions tests/src/core/geometry/testgeometryutils.h
@@ -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.