author | kergoth <kergoth> | 2002-03-16 04:59:45 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-03-16 04:59:45 (UTC) |
commit | a4ae0b213389af1ca002b684d2493786311ab60f (patch) (side-by-side diff) | |
tree | 67b729a64a50ed2dcab3cb5a6367d7ea72b15d80 /libopie/xmltree.cc | |
parent | 20cbfeefd68221f7b6f9dd512c6ff3e9a9484af2 (diff) | |
download | opie-a4ae0b213389af1ca002b684d2493786311ab60f.zip opie-a4ae0b213389af1ca002b684d2493786311ab60f.tar.gz opie-a4ae0b213389af1ca002b684d2493786311ab60f.tar.bz2 |
mark: added .pro for libopie. moved .h to includedir.
-rw-r--r-- | libopie/xmltree.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/xmltree.cc b/libopie/xmltree.cc index bf93151..d5ce74a 100644 --- a/libopie/xmltree.cc +++ b/libopie/xmltree.cc @@ -1,45 +1,45 @@ /* This file is part of the KDE project Copyright (C) 2001 Simon Hausmann <hausmann@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "xmltree.h" +#include <opie/xmltree.h> #include <qxml.h> #include <assert.h> namespace { /** Encode an attribute value upon saving. replaces '"' with """ replaces '<' with "<" replaces '&' with "&" replaces '>' with ">" */ QString encodeAttr( const QString& str ) { QString encAttr( str ); // cause of the const parameter encAttr = encAttr.replace( QRegExp( "[<]" ), "<" ); encAttr = encAttr.replace( QRegExp( "[>]" ), ">" ); encAttr = encAttr.replace( QRegExp( "[\"]" ), """ ); encAttr = encAttr.replace( QRegExp( "[&]" ), "&" ); return encAttr; } |