From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kviewshell/selection.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kviewshell/selection.h') diff --git a/kviewshell/selection.h b/kviewshell/selection.h index 23261d49..30fe415d 100644 --- a/kviewshell/selection.h +++ b/kviewshell/selection.h @@ -10,7 +10,7 @@ #include "pageNumber.h" -#include +#include /* The --very simple-- class TextSelection represents text that the @@ -22,7 +22,7 @@ should hold indiced referring to the start and the end of the selected text in the appropriate documentPage's textLinkList - a QString, 'selectedText' that holds the text that is selected + a TQString, 'selectedText' that holds the text that is selected these values can be stored, retrieved, it can be checked if the selection is empty, and signals are emitted when the values change @@ -47,7 +47,7 @@ public: // values; it is not even checked if selectedTextStart <= // selectedTextEnd! The signals pageChanged() and // selectionIsNotEmpty() are emitted if appropriate. - void set(const PageNumber& pageNr, Q_INT32 selectedTextStart, Q_INT32 selectedTextEnd, const QString& text); + void set(const PageNumber& pageNr, Q_INT32 selectedTextStart, Q_INT32 selectedTextEnd, const TQString& text); // This method can be used to find out if the selection is empty, // i.e. if the page number is invalid or the selected text is empty. @@ -60,7 +60,7 @@ public: Q_INT32 getSelectedTextEnd() const {return selectedTextEnd;} // Method used to retrieve the data described above - const QString &getSelectedText() const {return selectedText;} + const TQString &getSelectedText() const {return selectedText;} // Method used to retrieve the data described above PageNumber getPageNumber() const {return page;} @@ -80,7 +80,7 @@ public: Q_INT32 selectedTextStart, selectedTextEnd; // Described above - QString selectedText; + TQString selectedText; }; #endif -- cgit v1.2.1