summaryrefslogtreecommitdiffstats
path: root/quanta/components/tableeditor/tableitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/tableeditor/tableitem.cpp')
-rw-r--r--quanta/components/tableeditor/tableitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp
index 60625d95..b877df76 100644
--- a/quanta/components/tableeditor/tableitem.cpp
+++ b/quanta/components/tableeditor/tableitem.cpp
@@ -21,23 +21,23 @@
TableItem::TableItem(TQTable* table, EditType et) : TQTableItem(table, et)
{
setReplaceable(false);
- m_halign = Qt::AlignLeft;
- m_valign = Qt::AlignVCenter;
+ m_halign = TQt::AlignLeft;
+ m_valign = TQt::AlignVCenter;
}
TableItem::TableItem(TQTable* table, EditType et, const TQString& text) : TQTableItem(table, et, text)
{
setReplaceable(false);
- m_halign = Qt::AlignLeft;
- m_valign = Qt::AlignVCenter;
+ m_halign = TQt::AlignLeft;
+ m_valign = TQt::AlignVCenter;
}
TableItem::TableItem (TQTable* table, EditType et, const TQString& text, const TQPixmap& p) :
TQTableItem(table, et, text, p)
{
setReplaceable(false);
- m_halign = Qt::AlignLeft;
- m_valign = Qt::AlignVCenter;
+ m_halign = TQt::AlignLeft;
+ m_valign = TQt::AlignVCenter;
}
TQWidget* TableItem::createEditor() const
@@ -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::sizeHint() const
+TQSize TableItem::tqsizeHint() const
{
- TQSize size = TQTableItem::sizeHint();
+ TQSize size = TQTableItem::tqsizeHint();
size.setWidth(size.width()+8);
size.setHeight(size.height()+8);
return size;