[poppler] qt4/src
Pino Toscano
pino at kemper.freedesktop.org
Tue Mar 11 14:55:06 PDT 2008
qt4/src/poppler-annotation.cc | 2 ++
qt4/src/poppler-link.cc | 4 ++++
qt4/src/poppler-link.h | 2 ++
3 files changed, 8 insertions(+)
New commits:
commit 2d6c60537317bd3ac9e0582e0da09e7365729097
Author: Pino Toscano <pino at kde.org>
Date: Tue Mar 11 22:54:44 2008 +0100
For now we cannot handle MovieLink's, so comment them out.
diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc
index 302bcbb..9330da3 100644
--- a/qt4/src/poppler-annotation.cc
+++ b/qt4/src/poppler-annotation.cc
@@ -1480,11 +1480,13 @@ LinkAnnotation::LinkAnnotation( const QDomNode & node )
d->linkDestination = action;
}
}
+#if 0
else if ( type == "Movie" )
{
Poppler::LinkMovie * movie = new Poppler::LinkMovie( QRect() );
d->linkDestination = movie;
}
+#endif
}
}
diff --git a/qt4/src/poppler-link.cc b/qt4/src/poppler-link.cc
index 4d0f616..3d94363 100644
--- a/qt4/src/poppler-link.cc
+++ b/qt4/src/poppler-link.cc
@@ -151,6 +151,7 @@ class LinkSoundPrivate : public LinkPrivate
delete sound;
}
+#if 0
class LinkMoviePrivate : public LinkPrivate
{
public:
@@ -161,6 +162,7 @@ class LinkMoviePrivate : public LinkPrivate
: LinkPrivate( area )
{
}
+#endif
static void cvtUserToDev(::Page *page, double xu, double yu, int *xd, int *yd) {
double ctm[6];
@@ -513,6 +515,7 @@ class LinkMoviePrivate : public LinkPrivate
return d->sound;
}
+#if 0
// LinkMovie
LinkMovie::LinkMovie( const QRectF &linkArea )
: Link( *new LinkMoviePrivate( linkArea ) )
@@ -527,5 +530,6 @@ class LinkMoviePrivate : public LinkPrivate
{
return Movie;
}
+#endif
}
diff --git a/qt4/src/poppler-link.h b/qt4/src/poppler-link.h
index cf9a3d1..204ffe1 100644
--- a/qt4/src/poppler-link.h
+++ b/qt4/src/poppler-link.h
@@ -342,6 +342,7 @@ class POPPLER_QT4_EXPORT LinkSound : public Link
Q_DISABLE_COPY( LinkSound )
};
+#if 0
/** Movie: Not yet defined -> think renaming to 'Media' link **/
class POPPLER_QT4_EXPORT LinkMovie : public Link
// TODO this (Movie link)
@@ -355,6 +356,7 @@ class POPPLER_QT4_EXPORT LinkMovie : public Link
Q_DECLARE_PRIVATE( LinkMovie )
Q_DISABLE_COPY( LinkMovie )
};
+#endif
}
More information about the poppler
mailing list