From 56160bf4dfe503631ef6373367b281f081bab2b4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:13 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77. --- khtml/testkhtml.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'khtml/testkhtml.cpp') diff --git a/khtml/testkhtml.cpp b/khtml/testkhtml.cpp index 7765cee8a..4a2b2daa1 100644 --- a/khtml/testkhtml.cpp +++ b/khtml/testkhtml.cpp @@ -123,7 +123,7 @@ int main(int argc, char *argv[]) doc->setURLCursor(TQCursor(Qt::PointingHandCursor)); a.setTopWidget(doc->widget()); TQWidget::connect(doc, TQT_SIGNAL(setWindowCaption(const TQString &)), - doc->widget()->topLevelWidget(), TQT_SLOT(setCaption(const TQString &))); + doc->widget()->tqtopLevelWidget(), TQT_SLOT(setCaption(const TQString &))); doc->widget()->show(); toplevel->show(); ((TQScrollView *)doc->widget())->viewport()->show(); @@ -142,7 +142,7 @@ void Dummy::doBenchmark() results.clear(); TQString directory = KFileDialog::getExistingDirectory(settings.readPathEntry("path"), m_part->view(), - TQString::fromLatin1("Please select directory with tests")); + TQString::tqfromLatin1("Please select directory with tests")); if (!directory.isEmpty()) { settings.writePathEntry("path", directory); @@ -184,14 +184,14 @@ void Dummy::nextRun() for (int pos = 0; pos < timings.size(); ++pos) { int t = timings[pos]; if (pos < COLD_RUNS) - m_part->write(TQString::fromLatin1("(Cold):") + TQString::number(t) + ""); + m_part->write(TQString::tqfromLatin1("(Cold):") + TQString::number(t) + ""); else { total += t; - m_part->write(TQString::fromLatin1("") + TQString::number(t) + ""); + m_part->write(TQString::tqfromLatin1("") + TQString::number(t) + ""); } } - m_part->write(TQString::fromLatin1("Average:") + TQString::number(double(total) / HOT_RUNS) + ""); + m_part->write(TQString::tqfromLatin1("Average:") + TQString::number(double(total) / HOT_RUNS) + ""); m_part->write(""); } -- cgit v1.2.1