@ -953,7 +953,7 @@ void TQTextEdit::init()
d = new TQTextEditPrivate ;
doc - > formatCollection ( ) - > setPaintDevice ( this ) ;
undoEnabled = TRUE ;
read o nly = TRUE ;
read O nly = TRUE ;
setReadOnly ( FALSE ) ;
setFrameStyle ( LineEditPanel | Sunken ) ;
connect ( doc , TQ_SIGNAL ( minimumWidthChanged ( int ) ) ,
@ -2920,7 +2920,7 @@ void TQTextEdit::updateMicroFocusHint()
if ( hasFocus ( ) | | viewport ( ) - > hasFocus ( ) ) {
int h = c . paragraph ( ) - > lineHeightOfChar ( cursor - > index ( ) ) ;
if ( ! read o nly ) {
if ( ! read O nly ) {
TQFont f = c . paragraph ( ) - > at ( c . index ( ) ) - > format ( ) - > font ( ) ;
setMicroFocusHint ( c . x ( ) - contentsX ( ) + frameWidth ( ) ,
c . y ( ) + cursor - > paragraph ( ) - > rect ( ) . y ( ) - contentsY ( ) + frameWidth ( ) , 0 , h , TRUE , & f ) ;
@ -5895,15 +5895,15 @@ void TQTextEdit::windowActivationChange( bool oldActive )
void TQTextEdit : : setReadOnly ( bool b )
{
if ( ( bool ) read o nly = = b )
if ( ( bool ) read O nly = = b )
return ;
read o nly = b ;
read O nly = b ;
# ifndef TQT_NO_CURSOR
if ( read o nly )
if ( read O nly )
viewport ( ) - > setCursor ( arrowCursor ) ;
else
viewport ( ) - > setCursor ( ibeamCursor ) ;
setInputMethodEnabled ( ! read o nly ) ;
setInputMethodEnabled ( ! read O nly ) ;
# endif
# ifdef QT_TEXTEDIT_OPTIMIZATION
checkOptimMode ( ) ;