summaryrefslogtreecommitdiffstats
path: root/kviewshell/selection.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kviewshell/selection.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/selection.h')
-rw-r--r--kviewshell/selection.h10
1 files changed, 5 insertions, 5 deletions
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 <qstring.h>
+#include <tqstring.h>
/* 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