diff options
Diffstat (limited to 'kpresenter/KPrViewIface.cpp')
-rw-r--r-- | kpresenter/KPrViewIface.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kpresenter/KPrViewIface.cpp b/kpresenter/KPrViewIface.cpp index 8186e284..6f8aa314 100644 --- a/kpresenter/KPrViewIface.cpp +++ b/kpresenter/KPrViewIface.cpp @@ -356,7 +356,7 @@ void KPrViewIface::sizeSelected( int size ) view->sizeSelected( size ); } -void KPrViewIface::fontSelected( const QString &fontFamily ) +void KPrViewIface::fontSelected( const TQString &fontFamily ) { view->fontSelected( fontFamily ); } @@ -610,15 +610,15 @@ void KPrViewIface::viewHeader() // note: _nPage is the user visible 1-based page number // if 0 < _verbose exportPage() returns the title and notes of the page // if not verbose it returns an empty string -QStringList KPrViewIface::exportPage( int _nPage, +TQStringList KPrViewIface::exportPage( int _nPage, int _nWidth, int _nHeight, - const QString & _fileName, - const QString & _format, + const TQString & _fileName, + const TQString & _format, int _quality, int _verbose )const { - QStringList res; + TQStringList res; // we translate the user visible 1-based page number // to KPresenter's internal 0-based page number const int nPage = _nPage-1; @@ -629,11 +629,11 @@ QStringList KPrViewIface::exportPage( int _nPage, KPrCanvas* canvas = view->getCanvas(); if( canvas ){ if( canvas->exportPage( nPage, - QMAX(8, _nWidth), - QMAX(8, _nHeight), + TQMAX(8, _nWidth), + TQMAX(8, _nHeight), KURL::fromPathOrURL( _fileName ), _format.isEmpty() ? "PNG" : _format.latin1(), - QMAX(-1, QMIN(100, _quality))) ){ + TQMAX(-1, TQMIN(100, _quality))) ){ if( 0 < _verbose ){ KPrPage* page = view->kPresenterDoc()->pageList().at( nPage ); if( page ){ @@ -641,10 +641,10 @@ QStringList KPrViewIface::exportPage( int _nPage, // to be written to an IndeView page information file, // see http://www.indeview.org for details. // Note: We use the 1-based page number as fallback page title. - res << QString("Name=%1") - .arg( page->pageTitle( QString("Page%1").arg(_nPage) ) ); - res << QString("Notes=%1") - .arg( page->noteText() ); + res << TQString("Name=%1") + .tqarg( page->pageTitle( TQString("Page%1").tqarg(_nPage) ) ); + res << TQString("Notes=%1") + .tqarg( page->noteText() ); } } } @@ -668,7 +668,7 @@ void KPrViewIface::backgroundPicture() view->backgroundPicture(); } -void KPrViewIface::insertFile( const QString & file ) +void KPrViewIface::insertFile( const TQString & file ) { view->insertFile( file ); } |