KPIMTextedit Library
textutils.h
00001 /* 00002 This file is part of KDE. 00003 00004 Copyright (c) 2009 Thomas McGuire <mcguire@kde.org> 00005 Copyright (c) 2010 Stephen Kelly <steveire@gmail.com> 00006 00007 This library is free software; you can redistribute it and/or modify it 00008 under the terms of the GNU Library General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or (at your 00010 option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, but WITHOUT 00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00015 License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to the 00019 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00020 02110-1301, USA. 00021 */ 00022 00023 #ifndef KPIMTEXTEDIT_TEXTUTILS_H 00024 #define KPIMTEXTEDIT_TEXTUTILS_H 00025 00026 #include "kpimtextedit_export.h" 00027 00028 class QTextDocument; 00029 00030 namespace KPIMTextEdit { 00031 00037 namespace TextUtils 00038 { 00042 KPIMTEXTEDIT_EXPORT bool containsFormatting( const QTextDocument *document ); 00043 00055 KPIMTEXTEDIT_EXPORT QString flowText( QString &text, const QString &indent, int maxLength ); 00056 } 00057 00058 } 00059 00060 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:48:46 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:48:46 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.