summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoRichText.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /lib/kotext/KoRichText.h
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
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;