From 2781e27b871150395a5a82e221684108641002b2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:51 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 031454e56009d576589c28757f6c6fcf4884095e. --- src/gui/parafieldwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/parafieldwidget.cpp') diff --git a/src/gui/parafieldwidget.cpp b/src/gui/parafieldwidget.cpp index c03a28a..9aee35e 100644 --- a/src/gui/parafieldwidget.cpp +++ b/src/gui/parafieldwidget.cpp @@ -24,7 +24,7 @@ ParaFieldWidget::ParaFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const m_textEdit = new KTextEdit(this); m_textEdit->setTextFormat(TQt::PlainText); - if(field_->property(TQString::fromLatin1("spellcheck")) != Latin1Literal("false")) { + if(field_->property(TQString::tqfromLatin1("spellcheck")) != Latin1Literal("false")) { m_textEdit->setCheckSpellingEnabled(true); } connect(m_textEdit, TQT_SIGNAL(textChanged()), TQT_SIGNAL(modified())); @@ -34,7 +34,7 @@ ParaFieldWidget::ParaFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const TQString ParaFieldWidget::text() const { TQString text = m_textEdit->text(); - text.replace('\n', TQString::fromLatin1("
")); + text.replace('\n', TQString::tqfromLatin1("
")); return text; } @@ -42,7 +42,7 @@ void ParaFieldWidget::setText(const TQString& text_) { blockSignals(true); m_textEdit->blockSignals(true); - TQRegExp rx(TQString::fromLatin1("
"), false /*case-sensitive*/); + TQRegExp rx(TQString::tqfromLatin1("
"), false /*case-sensitive*/); TQString s = text_; s.replace(rx, TQChar('\n')); m_textEdit->setText(s); -- cgit v1.2.1