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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp
index f236ef76..ba10c9bb 100644
--- a/quanta/components/tableeditor/tableitem.cpp
+++ b/quanta/components/tableeditor/tableitem.cpp
@@ -48,13 +48,13 @@ TQWidget* TableItem::createEditor() const
Editor->setVScrollBarMode(TQScrollView::AlwaysOff);
Editor->setBold(m_header);
Editor->setText(text());
- TQObject::connect(Editor, TQT_SIGNAL(textChanged()), table(), TQT_SLOT(doValueChanged()));
+ TQObject::connect(Editor, TQ_SIGNAL(textChanged()), table(), TQ_SLOT(doValueChanged()));
return Editor;
}
void TableItem::setContentFromEditor(TQWidget *w)
{
- if (w->inherits( TQTEXTEDIT_OBJECT_NAME_STRING ))
+ if (w->inherits( "TQTextEdit" ))
setText(((TQTextEdit*)w)->text());
else
TQTableItem::setContentFromEditor(w);