From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kviewshell/renderedDocumentPage.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kviewshell/renderedDocumentPage.h') diff --git a/kviewshell/renderedDocumentPage.h b/kviewshell/renderedDocumentPage.h index 979f46e8..143259e7 100644 --- a/kviewshell/renderedDocumentPage.h +++ b/kviewshell/renderedDocumentPage.h @@ -64,9 +64,10 @@ class TextSelection; @version 1.0.0 */ -class RenderedDocumentPage : public QObject +class RenderedDocumentPage : public TQObject { Q_OBJECT + TQ_OBJECT public: /** \brief Default constructor @@ -196,13 +197,13 @@ class RenderedDocumentPage : public QObject /** Finds the first occurence of str starting by the current index. If the text is found a corresponding TextSelection is returned. If the text is not found a empty selection is returned. */ - TextSelection find(const TQString& str, int index = 0, bool caseSensitive = true); + TextSelection tqfind(const TQString& str, int index = 0, bool caseSensitive = true); /** Finds the first occurence of str starting by the current index searching backwards. If the text is found a corresponding TextSelection is returned. If the text is not found a empty selection is returned. If index < 0 start the search at the end of the page. */ - TextSelection findRev(const TQString& str, int index = 0, bool cs = true); + TextSelection tqfindRev(const TQString& str, int index = 0, bool cs = true); /** \brief Hyperlinks on the document page @@ -221,7 +222,7 @@ class RenderedDocumentPage : public QObject Clears the contents of the class, but leaves pageNumber intact. For performance reasons, it does not free the memory for the - QValueVectors so that lengthy re-allocations won't be necessary + TQValueVectors so that lengthy re-allocations won't be necessary later. */ virtual void clear(); -- cgit v1.2.1