summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoRichText.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoRichText.h')
-rw-r--r--lib/kotext/KoRichText.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoRichText.h b/lib/kotext/KoRichText.h
index f3cf9746..35bb8bd7 100644
--- a/lib/kotext/KoRichText.h
+++ b/lib/kotext/KoRichText.h
@@ -93,7 +93,7 @@ public:
// this is the same struct as in qtextengine_p.h. Don't change!
uchar softBreak :1; // Potential linebreak point
- uchar whiteSpace :1; // A tqunicode whitespace character, except NBSP, ZWNBSP
+ uchar whiteSpace :1; // A unicode whitespace character, except NBSP, ZWNBSP
uchar charStop :1; // Valid cursor position (for left/right arrow)
uchar wordStop :1; // Valid cursor position (for ctrl + left/right arrow) (TODO: use)
//uchar nobreak :1;
@@ -564,12 +564,12 @@ public:
TQString richText() const;
- int minimumWidth() const { return tqlayout ? tqlayout->minimumSize().width() : 0; }
- int widthHint() const { return ( tqlayout ? tqlayout->sizeHint().width() : 0 ) + 2 * outerborder; }
+ int minimumWidth() const { return layout ? layout->minimumSize().width() : 0; }
+ int widthHint() const { return ( layout ? layout->sizeHint().width() : 0 ) + 2 * outerborder; }
TQPtrList<KoTextTableCell> tableCells() const { return cells; }
- TQRect geometry() const { return tqlayout ? tqlayout->geometry() : TQRect(); }
+ TQRect geometry() const { return layout ? layout->geometry() : TQRect(); }
bool isStretching() const { return stretch; }
private:
@@ -577,7 +577,7 @@ private:
void addCell( KoTextTableCell* cell );
private:
- TQGridLayout* tqlayout;
+ TQGridLayout* layout;
TQPtrList<KoTextTableCell> cells;
TQPainter* painter;
int cachewidth;