diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
commit | 45f529de247fc4b3662f6b474abe03fe904306ec (patch) | |
tree | d4b70147f7b0aeda4c1cb484553dc8ae048eb7ec /kpdf/core | |
parent | ec1fddcd0d6663ad273af85357f04abbc5689468 (diff) | |
download | tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.tar.gz tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kpdf/core')
-rw-r--r-- | kpdf/core/document.cpp | 2 | ||||
-rw-r--r-- | kpdf/core/generator_pdf/generator_pdf.cpp | 4 | ||||
-rw-r--r-- | kpdf/core/pagetransition.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/kpdf/core/document.cpp b/kpdf/core/document.cpp index 2074789d..84566364 100644 --- a/kpdf/core/document.cpp +++ b/kpdf/core/document.cpp @@ -1067,7 +1067,7 @@ void KPDFDocument::processLink( const KPDFLink * link ) case KPDFLink::Browse: { const KPDFLinkBrowse * browse = static_cast< const KPDFLinkBrowse * >( link ); // if the url is a mailto one, invoke mailer - if ( browse->url().tqstartsWith( "mailto:", false ) ) + if ( browse->url().startsWith( "mailto:", false ) ) kapp->invokeMailer( browse->url() ); else { diff --git a/kpdf/core/generator_pdf/generator_pdf.cpp b/kpdf/core/generator_pdf/generator_pdf.cpp index 6550a543..0133e010 100644 --- a/kpdf/core/generator_pdf/generator_pdf.cpp +++ b/kpdf/core/generator_pdf/generator_pdf.cpp @@ -1017,10 +1017,10 @@ void PDFGenerator::addTransition( int pageNumber, KPDFPage * page ) switch ( pdfTransition->getAlignment() ) { case PageTransition::Horizontal: - transition->tqsetAlignment( KPDFPageTransition::Horizontal ); + transition->setAlignment( KPDFPageTransition::Horizontal ); break; case PageTransition::Vertical: - transition->tqsetAlignment( KPDFPageTransition::Vertical ); + transition->setAlignment( KPDFPageTransition::Vertical ); break; } diff --git a/kpdf/core/pagetransition.h b/kpdf/core/pagetransition.h index 25280437..bc2740ab 100644 --- a/kpdf/core/pagetransition.h +++ b/kpdf/core/pagetransition.h @@ -67,7 +67,7 @@ class KPDFPageTransition inline void setType( Type type ) { m_type = type; } inline void setDuration( int duration ) { m_duration = duration; } - inline void tqsetAlignment( Alignment tqalignment ) { m_tqalignment = tqalignment; } + inline void setAlignment( Alignment tqalignment ) { m_tqalignment = tqalignment; } inline void setDirection( Direction direction ) { m_direction = direction; } inline void setAngle( int angle ) { m_angle = angle; } inline void setScale( double scale ) { m_scale = scale; } |