summaryrefslogtreecommitdiffstats
path: root/kviewshell/selection.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/selection.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/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 30fe415d..0f58fe5b 100644
--- a/kviewshell/selection.h
+++ b/kviewshell/selection.h
@@ -18,7 +18,7 @@
the page number,
- two Q_INT32 numbers, 'selectedTextStart' and 'selectedTextEnd' that
+ two TQ_INT32 numbers, 'selectedTextStart' and 'selectedTextEnd' that
should hold indiced referring to the start and the end of the
selected text in the appropriate documentPage's textLinkList
@@ -47,17 +47,17 @@ 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 TQString& text);
+ void set(const PageNumber& pageNr, TQ_INT32 selectedTextStart, TQ_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.
bool isEmpty() const {return (!page.isValid() || selectedText.isEmpty());}
// Method used to retrieve the data described above
- Q_INT32 getSelectedTextStart() const {return selectedTextStart;}
+ TQ_INT32 getSelectedTextStart() const {return selectedTextStart;}
// Method used to retrieve the data described above
- Q_INT32 getSelectedTextEnd() const {return selectedTextEnd;}
+ TQ_INT32 getSelectedTextEnd() const {return selectedTextEnd;}
// Method used to retrieve the data described above
const TQString &getSelectedText() const {return selectedText;}
@@ -77,7 +77,7 @@ public:
PageNumber page;
// Described above
- Q_INT32 selectedTextStart, selectedTextEnd;
+ TQ_INT32 selectedTextStart, selectedTextEnd;
// Described above
TQString selectedText;