|
|
|
|
@ -56,8 +56,14 @@ class Okular::GotoActionPrivate : public Okular::ActionPrivate |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
GotoActionPrivate( const QString &fileName, const QString &namedDestination ) |
|
|
|
|
: ActionPrivate(), m_extFileName( fileName ), m_dest( namedDestination ) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QString m_extFileName; |
|
|
|
|
DocumentViewport m_vp; |
|
|
|
|
QString m_dest; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
GotoAction::GotoAction( const QString& fileName, const DocumentViewport & viewport ) |
|
|
|
|
@ -65,6 +71,11 @@ GotoAction::GotoAction( const QString& fileName, const DocumentViewport & viewpo |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
GotoAction::GotoAction( const QString& fileName, const QString& namedDestination ) |
|
|
|
|
: Action( *new GotoActionPrivate( fileName, namedDestination ) ) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
GotoAction::~GotoAction() |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
@ -99,6 +110,12 @@ DocumentViewport GotoAction::destViewport() const |
|
|
|
|
return d->m_vp; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QString GotoAction::destinationName() const |
|
|
|
|
{ |
|
|
|
|
Q_D( const GotoAction ); |
|
|
|
|
return d->m_dest; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// ExecuteAction
|
|
|
|
|
|
|
|
|
|
class Okular::ExecuteActionPrivate : public Okular::ActionPrivate |
|
|
|
|
|