diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:56:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:56:05 -0600 |
commit | 74c05bbf9d92e43a6cf3799355b5f3598884409e (patch) | |
tree | 9371e52e1564e08fd280f28e49981ffeb881b9d2 /kpdf/core/generator_pdf | |
parent | 45f529de247fc4b3662f6b474abe03fe904306ec (diff) | |
download | tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.tar.gz tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kpdf/core/generator_pdf')
-rw-r--r-- | kpdf/core/generator_pdf/generator_pdf.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpdf/core/generator_pdf/generator_pdf.cpp b/kpdf/core/generator_pdf/generator_pdf.cpp index 0133e010..02ce1148 100644 --- a/kpdf/core/generator_pdf/generator_pdf.cpp +++ b/kpdf/core/generator_pdf/generator_pdf.cpp @@ -209,7 +209,7 @@ const DocumentInfo * PDFGenerator::generateDocumentInfo() if ( pdfdoc ) { docInfo.set( "format", i18n( "PDF v. <version>", "PDF v. %1" ) - .tqarg( TQString::number( pdfdoc->getPDFVersion() ) ), i18n( "Format" ) ); + .arg( TQString::number( pdfdoc->getPDFVersion() ) ), i18n( "Format" ) ); docInfo.set( "encryption", pdfdoc->isEncrypted() ? i18n( "Encrypted" ) : i18n( "Unencrypted" ), i18n("Security") ); docInfo.set( "optimization", pdfdoc->isLinearized() ? i18n( "Yes" ) : i18n( "No" ), @@ -528,7 +528,7 @@ static GString *TQStringToGString(const TQString &s) { int len = s.length(); char *cstring = (char *)gmallocn(s.length(), sizeof(char)); for (int i = 0; i < len; ++i) - cstring[i] = s.tqat(i).tqunicode(); + cstring[i] = s.at(i).tqunicode(); return new GString(cstring, len); } @@ -909,11 +909,11 @@ void PDFGenerator::addSynopsisChildren( TQDomNode * parent, GList * items ) item.setAttribute( "Open", TQVariant( (bool)outlineItem->isOpen() ).toString() ); - // 3. recursively descend over tqchildren + // 3. recursively descend over children outlineItem->open(); - GList * tqchildren = outlineItem->getKids(); - if ( tqchildren ) - addSynopsisChildren( &item, tqchildren ); + GList * children = outlineItem->getKids(); + if ( children ) + addSynopsisChildren( &item, children ); } } |