[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/kviewshell
From: Wilfried Huss <Wilfried.Huss () gmx ! at>
Date: 2006-07-01 13:14:53
Message-ID: 1151759693.386642.17211.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 556732 by whuss:
Q3ValueVector -> QVector
M +2 -2 plugins/dvi/dviRenderer.cpp
M +1 -1 plugins/dvi/renderedDviPagePixmap.h
M +4 -4 shell/renderedDocumentPage.cpp
M +3 -3 shell/renderedDocumentPage.h
--- trunk/KDE/kdegraphics/kviewshell/plugins/dvi/dviRenderer.cpp #556731:556732
@@ -187,8 +187,8 @@
// Postprocess hyperlinks
// Without that, based on the way TeX draws certain characters like german "Umlaute",
// some hyperlinks would be broken into two overlapping parts, in the middle of a word.
- Q3ValueVector<Hyperlink>::iterator i = page->hyperLinkList.begin();
- Q3ValueVector<Hyperlink>::iterator j;
+ QVector<Hyperlink>::iterator i = page->hyperLinkList.begin();
+ QVector<Hyperlink>::iterator j;
while (i != page->hyperLinkList.end())
{
// Iterator j always points to the element after i.
--- trunk/KDE/kdegraphics/kviewshell/plugins/dvi/renderedDviPagePixmap.h #556731:556732
@@ -43,7 +43,7 @@
List of source-hyperlinks in the current page. This vector is
generated when the current page is drawn.
*/
- Q3ValueVector<Hyperlink> sourceHyperLinkList;
+ QVector<Hyperlink> sourceHyperLinkList;
SimplePageSize customPageSize;
};
--- trunk/KDE/kdegraphics/kviewshell/shell/renderedDocumentPage.cpp #556731:556732
@@ -67,7 +67,7 @@
int startIndex = selection.getSelectedTextStart();
int endIndex = selection.getSelectedTextEnd();
- Q3ValueVector<QRect> wordBox;
+ QVector<QRect> wordBox;
QRect currentWordBox;
@@ -100,7 +100,7 @@
// we still need to store the last word
wordBox.push_back(currentWordBox);
- Q3ValueVector<QRect> lineBox;
+ QVector<QRect> lineBox;
// Merge word boxes into boxes containing whole lines.
// We start a new line if we encounter a wordbox which does not
@@ -269,7 +269,7 @@
if (pageText.isNull())
{
// Create the pageText by joining all entries of textBoxList.
- for (Q3ValueVector<TextBox>::Iterator i = textBoxList.begin(); i != textBoxList.end(); i++)
+ for (QVector<TextBox>::Iterator i = textBoxList.begin(); i != textBoxList.end(); i++)
{
pageText = pageText + i->text;
}
@@ -370,7 +370,7 @@
if (pageText.isNull())
{
// Create the pageText by joining all entries of textBoxList.
- for (Q3ValueVector<TextBox>::Iterator i = textBoxList.begin(); i != textBoxList.end(); i++)
+ for (QVector<TextBox>::Iterator i = textBoxList.begin(); i != textBoxList.end(); i++)
{
pageText = pageText + i->text;
}
--- trunk/KDE/kdegraphics/kviewshell/shell/renderedDocumentPage.h #556731:556732
@@ -17,7 +17,7 @@
#include "pageNumber.h"
-#include <Q3ValueVector>
+#include <QVector>
#include <QObject>
#include <QSize>
#include <QString>
@@ -142,7 +142,7 @@
kviewshell e.g. for selecting text with the mouse or for the "export
as text..." functionality.
*/
- Q3ValueVector<TextBox> textBoxList;
+ QVector<TextBox> textBoxList;
/** \brief Calculates the text selected by the given rectangle.
The parameter @param normal selects which mode that is used
@@ -180,7 +180,7 @@
method. It is used in kviewshell so users can use the mouse to
navigate in the document through hyperlinks.
*/
- Q3ValueVector<Hyperlink> hyperLinkList;
+ QVector<Hyperlink> hyperLinkList;
// set to 'false' in the constructor, set to 'true' by the renderer,
// if something really has been rendered
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic