diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
commit | 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch) | |
tree | 4138783f7dad757fc5fbfaa8d66a355288d3125e /knode/articlewidget.cpp | |
parent | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff) | |
download | tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'knode/articlewidget.cpp')
-rw-r--r-- | knode/articlewidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/knode/articlewidget.cpp b/knode/articlewidget.cpp index 9e74cbb6d..272df8363 100644 --- a/knode/articlewidget.cpp +++ b/knode/articlewidget.cpp @@ -635,7 +635,7 @@ void ArticleWidget::displayHeader() TQString xface = ""; if ( !xfhead.isEmpty() ) { KPIM::KXFace xf; - xface = TQString::tqfromLatin1( "<div class=\"senderpic\"><img src=\"%1\" width=\"48\" height=\"48\"/></div>" ) + xface = TQString::fromLatin1( "<div class=\"senderpic\"><img src=\"%1\" width=\"48\" height=\"48\"/></div>" ) .tqarg( imgToDataUrl( xf.toImage( xfhead ), "PNG" ) ); } @@ -663,7 +663,7 @@ void ArticleWidget::displayHeader() html += TQString( "<b>%1</b>" ).tqarg( i18n("References:") ); while ( i <= refCnt ) { - html += " <a href=\"news:" + TQString::tqfromLatin1( id ) + "\">" + TQString::number( i ) + "</a>"; + html += " <a href=\"news:" + TQString::fromLatin1( id ) + "\">" + TQString::number( i ) + "</a>"; id = refs->next(); id = id.mid( 1, id.length() - 2 ); // remove <> i++; @@ -915,7 +915,7 @@ TQString ArticleWidget::imgToDataUrl( const TQImage &image, const char* fmt ) TQBuffer buffer( ba ); buffer.open( IO_WriteOnly ); image.save( &buffer, fmt ); - return TQString::tqfromLatin1("data:image/%1;base64,%2") + return TQString::fromLatin1("data:image/%1;base64,%2") .tqarg( fmt, TQString(KCodecs::base64Encode( ba )) ); } @@ -1416,7 +1416,7 @@ void ArticleWidget::slotAddBookmark() { if ( mCurrentURL.isEmpty() ) return; - TQString filename = locateLocal( "data", TQString::tqfromLatin1("konqueror/bookmarks.xml") ); + TQString filename = locateLocal( "data", TQString::fromLatin1("konqueror/bookmarks.xml") ); KBookmarkManager *bookManager = KBookmarkManager::managerForFile( filename, false ); KBookmarkGroup group = bookManager->root(); group.addBookmark( bookManager, mCurrentURL.url(), mCurrentURL ); |