diff options
Diffstat (limited to 'kipi-plugins/galleryexport/gallerywindow.cpp')
-rw-r--r-- | kipi-plugins/galleryexport/gallerywindow.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kipi-plugins/galleryexport/gallerywindow.cpp b/kipi-plugins/galleryexport/gallerywindow.cpp index ac37a31..d9ac417 100644 --- a/kipi-plugins/galleryexport/gallerywindow.cpp +++ b/kipi-plugins/galleryexport/gallerywindow.cpp @@ -346,18 +346,18 @@ void GalleryWindow::slotPhotos( const TQValueList<GPhoto>& photoList) TQString styleSheet = TQString( "body { margin: 8px; font-size: %1px; " " color: %2; background-color: %3;}" ) - .tqarg( pxSize ) - .tqarg( tqcolorGroup().text().name() ) - .tqarg( tqcolorGroup().base().name() ); + .arg( pxSize ) + .arg( colorGroup().text().name() ) + .arg( colorGroup().base().name() ); styleSheet += TQString( "a { font-size: %1px; color: %2; " "text-decoration: none;}" ) - .tqarg( pxSize ) - .tqarg( tqcolorGroup().text().name() ); + .arg( pxSize ) + .arg( colorGroup().text().name() ); styleSheet += TQString( "i { font-size: %1px; color: %2; " "text-decoration: none;}" ) - .tqarg( pxSize-2 ) - .tqarg( TQColor("steelblue").name() ); + .arg( pxSize-2 ) + .arg( TQColor("steelblue").name() ); m_photoView->begin(); m_photoView->setUserStyleSheet( styleSheet ); @@ -378,13 +378,13 @@ void GalleryWindow::slotPhotos( const TQValueList<GPhoto>& photoList) m_photoView->write( "<tr><td class='photo'>" + TQString("<a href='%1'>") - .tqarg(imageurl.url()) + .arg(imageurl.url()) + TQString("<img border=1 src=\"%1\"><br>") - .tqarg(thumburl.url()) + .arg(thumburl.url()) + photo.name + ( photo.caption.isEmpty() ? TQString() : TQString("<br><i>%1</i>") - .tqarg(photo.caption) ) + .arg(photo.caption) ) + "</a></td></tr>" ); } @@ -529,7 +529,7 @@ void GalleryWindow::slotNewAlbum() if (!clean) { KMessageBox::error( this, i18n("Sorry, these characters are not allowed in album name: %1") - .tqarg("\\ / * ? \" \' & < > | . + # ( ) or spaces") ); + .arg("\\ / * ? \" \' & < > | . + # ( ) or spaces") ); return; } @@ -601,7 +601,7 @@ void GalleryWindow::slotAddPhotoNext() } m_progressDlg->setLabelText( i18n("Uploading file %1 ") - .tqarg( KURL(pathComments.first).filename() ) ); + .arg( KURL(pathComments.first).filename() ) ); if (m_progressDlg->isHidden()) m_progressDlg->show(); |