summaryrefslogtreecommitdiffstats
path: root/kviewshell/renderedDocumentPage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kviewshell/renderedDocumentPage.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
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
Diffstat (limited to 'kviewshell/renderedDocumentPage.h')
-rw-r--r--kviewshell/renderedDocumentPage.h9
1 files changed, 5 insertions, 4 deletions
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();