summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-write/qrichtext_p.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-write/qrichtext_p.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-write/qrichtext_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-write/qrichtext_p.h b/noncore/apps/opie-write/qrichtext_p.h
index e368edb..3778feb 100644
--- a/noncore/apps/opie-write/qrichtext_p.h
+++ b/noncore/apps/opie-write/qrichtext_p.h
@@ -41,24 +41,27 @@
41// 41//
42// W A R N I N G 42// W A R N I N G
43// ------------- 43// -------------
44// 44//
45// This file is not part of the Qt API. It exists for the convenience 45// This file is not part of the Qt API. It exists for the convenience
46// of a number of Qt sources files. This header file may change from 46// of a number of Qt sources files. This header file may change from
47// version to version without notice, or even be removed. 47// version to version without notice, or even be removed.
48// 48//
49// We mean it. 49// We mean it.
50// 50//
51// 51//
52 52
53#include <opie2/odebug.h>
54using namespace Opie::Core;
55
53#ifndef QT_H 56#ifndef QT_H
54#include "qstring.h" 57#include "qstring.h"
55#include "qlist.h" 58#include "qlist.h"
56#include "qrect.h" 59#include "qrect.h"
57#include "qfontmetrics.h" 60#include "qfontmetrics.h"
58#include "qintdict.h" 61#include "qintdict.h"
59#include "qmap.h" 62#include "qmap.h"
60#include "qstringlist.h" 63#include "qstringlist.h"
61#include "qfont.h" 64#include "qfont.h"
62#include "qcolor.h" 65#include "qcolor.h"
63#include "qsize.h" 66#include "qsize.h"
64#include "qvaluelist.h" 67#include "qvaluelist.h"
@@ -1874,25 +1877,25 @@ inline int QTextParagraph::endState() const
1874{ 1877{
1875 return state; 1878 return state;
1876} 1879}
1877 1880
1878inline void QTextParagraph::setParagId( int i ) 1881inline void QTextParagraph::setParagId( int i )
1879{ 1882{
1880 id = i; 1883 id = i;
1881} 1884}
1882 1885
1883inline int QTextParagraph::paragId() const 1886inline int QTextParagraph::paragId() const
1884{ 1887{
1885 if ( id == -1 ) 1888 if ( id == -1 )
1886 qWarning( "invalid parag id!!!!!!!! (%p)", (void*)this ); 1889 owarn << "invalid parag id!!!!!!!! (" << (void*)this << ")" << oendl;
1887 return id; 1890 return id;
1888} 1891}
1889 1892
1890inline bool QTextParagraph::firstPreProcess() const 1893inline bool QTextParagraph::firstPreProcess() const
1891{ 1894{
1892 return firstPProcess; 1895 return firstPProcess;
1893} 1896}
1894 1897
1895inline void QTextParagraph::setFirstPreProcess( bool b ) 1898inline void QTextParagraph::setFirstPreProcess( bool b )
1896{ 1899{
1897 firstPProcess = b; 1900 firstPProcess = b;
1898} 1901}