diff options
Diffstat (limited to 'quanta/components/tableeditor/tableitem.cpp')
-rw-r--r-- | quanta/components/tableeditor/tableitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp index c2f4e298..aed532d1 100644 --- a/quanta/components/tableeditor/tableitem.cpp +++ b/quanta/components/tableeditor/tableitem.cpp @@ -14,7 +14,7 @@ * * ***************************************************************************/ -#include <tqtextedit.h> +#include <textedit.h> #include <tqpainter.h> #include "tableitem.h" @@ -84,9 +84,9 @@ void TableItem::paint(TQPainter* p, const TQColorGroup& cg, const TQRect& cr, bo p->drawText(4, 4, cr0.width()-8, cr0.height()-8, m_halign | m_valign | WordBreak, text()); } -TQSize TableItem::tqsizeHint() const +TQSize TableItem::sizeHint() const { - TQSize size = TQTableItem::tqsizeHint(); + TQSize size = TQTableItem::sizeHint(); size.setWidth(size.width()+8); size.setHeight(size.height()+8); return size; |