From 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:06:29 -0600 Subject: Rename obsolete tq methods to standard names --- src/modules/help/helpwidget.cpp | 2 +- src/modules/help/index.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/help') diff --git a/src/modules/help/helpwidget.cpp b/src/modules/help/helpwidget.cpp index c0f7f1c3..96a7edb9 100644 --- a/src/modules/help/helpwidget.cpp +++ b/src/modules/help/helpwidget.cpp @@ -138,7 +138,7 @@ TQSize KviHelpWidget::sizeHint() const bool KviHelpWidget::eventFilter(TQObject * o, TQEvent *e) { - TQClipboard *cb = TQApplication::tqclipboard(); + TQClipboard *cb = TQApplication::clipboard(); if(e->type() == TQEvent::MouseButtonRelease) { if(m_pTextBrowser->hasSelectedText()) { diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp index 46dc4f22..d77e6fed 100755 --- a/src/modules/help/index.cpp +++ b/src/modules/help/index.cpp @@ -164,7 +164,7 @@ void Index::parseDocument( const TQString &filename, int docNum ) if (text.isNull()) return; bool valid = TRUE; - const TQChar *buf = text.tqunicode(); + const TQChar *buf = text.unicode(); TQChar str[64]; TQChar c = buf[0]; int j = 0; @@ -727,7 +727,7 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList & bool valid = TRUE; - const TQChar *buf = text.tqunicode(); + const TQChar *buf = text.unicode(); TQChar str[64]; -- cgit v1.2.1