utf8() returns a QCString.

svn path=/trunk/kdebase/libkonq/; revision=47480
This commit is contained in:
David Faure 2000-04-25 00:34:56 +00:00
parent 0cd878efb8
commit 1d2d9165b7

View file

@ -350,7 +350,7 @@ KBookmark::KBookmark( KBookmarkManager *_bm, KBookmark *_parent, QString _text,
}
fprintf( f, "[Desktop Entry]\n" );
fprintf( f, "URL=%s\n", m_url.utf8() );
fprintf( f, "URL=%s\n", m_url.utf8().data() );
fprintf( f, "Icon=%s\n", icon.latin1() );
fprintf( f, "Type=Link\n" );
fclose( f );
@ -433,7 +433,7 @@ QString KBookmark::pixmapFile( )
QString url = m_file;
KURL::encode( url );
// Get the full path to the Small icon and store it into m_sPixmap
KMimeType::pixmapForURL( KURL( url ), buff.st_mode, KIcon::Small,
KMimeType::pixmapForURL( KURL( url ), buff.st_mode, KIcon::Small,
0, KIcon::DefaultState, &m_sPixmap );
}
return m_sPixmap;