summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/pdf/poppler-qt/poppler-link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/pdf/poppler-qt/poppler-link.cc')
-rw-r--r--kfile-plugins/pdf/poppler-qt/poppler-link.cc52
1 files changed, 26 insertions, 26 deletions
diff --git a/kfile-plugins/pdf/poppler-qt/poppler-link.cc b/kfile-plugins/pdf/poppler-qt/poppler-link.cc
index af6d6452..72db1fff 100644
--- a/kfile-plugins/pdf/poppler-qt/poppler-link.cc
+++ b/kfile-plugins/pdf/poppler-qt/poppler-link.cc
@@ -21,7 +21,7 @@
#include <poppler-qt.h>
#include <poppler-private.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <Link.h>
@@ -80,9 +80,9 @@ namespace Poppler {
if (deleteDest) delete ld;
}
- LinkDestination::LinkDestination(const QString &description)
+ LinkDestination::LinkDestination(const TQString &description)
{
- QStringList tokens = QStringList::split(';', description);
+ TQStringList tokens = TQStringList::split(';', description);
m_kind = static_cast<Kind>(tokens[0].toInt());
m_pageNum = tokens[1].toInt();
m_left = tokens[2].toDouble();
@@ -145,18 +145,18 @@ namespace Poppler {
return m_changeZoom;
}
- QString LinkDestination::toString() const
- {
- QString s = QString::number( (Q_INT8)m_kind );
- s += ";" + QString::number( m_pageNum );
- s += ";" + QString::number( m_left );
- s += ";" + QString::number( m_bottom );
- s += ";" + QString::number( m_right );
- s += ";" + QString::number( m_top );
- s += ";" + QString::number( m_zoom );
- s += ";" + QString::number( (Q_INT8)m_changeLeft );
- s += ";" + QString::number( (Q_INT8)m_changeTop );
- s += ";" + QString::number( (Q_INT8)m_changeZoom );
+ TQString LinkDestination::toString() const
+ {
+ TQString s = TQString::number( (TQ_INT8)m_kind );
+ s += ";" + TQString::number( m_pageNum );
+ s += ";" + TQString::number( m_left );
+ s += ";" + TQString::number( m_bottom );
+ s += ";" + TQString::number( m_right );
+ s += ";" + TQString::number( m_top );
+ s += ";" + TQString::number( m_zoom );
+ s += ";" + TQString::number( (TQ_INT8)m_changeLeft );
+ s += ";" + TQString::number( (TQ_INT8)m_changeTop );
+ s += ";" + TQString::number( (TQ_INT8)m_changeZoom );
return s;
}
@@ -166,7 +166,7 @@ namespace Poppler {
{
}
- Link::Link(const QRect &linkArea) : m_linkArea(linkArea)
+ Link::Link(const TQRect &linkArea) : m_linkArea(linkArea)
{
}
@@ -175,13 +175,13 @@ namespace Poppler {
return None;
}
- QRect Link::linkArea() const
+ TQRect Link::linkArea() const
{
return m_linkArea;
}
// LinkGoto
- LinkGoto::LinkGoto( const QRect &linkArea, QString extFileName, const LinkDestination & destination ) : Link(linkArea), m_extFileName(extFileName), m_destination(destination)
+ LinkGoto::LinkGoto( const TQRect &linkArea, TQString extFileName, const LinkDestination & destination ) : Link(linkArea), m_extFileName(extFileName), m_destination(destination)
{
}
@@ -190,7 +190,7 @@ namespace Poppler {
return !m_extFileName.isEmpty();
}
- const QString &LinkGoto::fileName() const
+ const TQString &LinkGoto::fileName() const
{
return m_extFileName;
}
@@ -206,15 +206,15 @@ namespace Poppler {
}
// LinkExecute
- LinkExecute::LinkExecute( const QRect &linkArea, const QString & file, const QString & params ) : Link(linkArea), m_fileName(file), m_parameters(params)
+ LinkExecute::LinkExecute( const TQRect &linkArea, const TQString & file, const TQString & params ) : Link(linkArea), m_fileName(file), m_parameters(params)
{
}
- const QString & LinkExecute::fileName() const
+ const TQString & LinkExecute::fileName() const
{
return m_fileName;
}
- const QString & LinkExecute::parameters() const
+ const TQString & LinkExecute::parameters() const
{
return m_parameters;
}
@@ -225,11 +225,11 @@ namespace Poppler {
}
// LinkBrowse
- LinkBrowse::LinkBrowse( const QRect &linkArea, const QString &url ) : Link(linkArea), m_url(url)
+ LinkBrowse::LinkBrowse( const TQRect &linkArea, const TQString &url ) : Link(linkArea), m_url(url)
{
}
- const QString & LinkBrowse::url() const
+ const TQString & LinkBrowse::url() const
{
return m_url;
}
@@ -240,7 +240,7 @@ namespace Poppler {
}
// LinkAction
- LinkAction::LinkAction( const QRect &linkArea, ActionType actionType ) : Link(linkArea), m_type(actionType)
+ LinkAction::LinkAction( const TQRect &linkArea, ActionType actionType ) : Link(linkArea), m_type(actionType)
{
}
@@ -255,7 +255,7 @@ namespace Poppler {
}
// LinkMovie
- LinkMovie::LinkMovie( const QRect &linkArea ) : Link(linkArea)
+ LinkMovie::LinkMovie( const TQRect &linkArea ) : Link(linkArea)
{
}