|
|
|
@ -440,7 +440,7 @@ KMReaderWin::KMReaderWin(TQWidget *aParent,
|
|
|
|
|
mSavedRelativePosition( 0 ),
|
|
|
|
|
mDecrytMessageOverwrite( false ),
|
|
|
|
|
mShowSignatureDetails( false ),
|
|
|
|
|
mShowAttachmentQuictdelist( true ),
|
|
|
|
|
mShowAttachmentQuicklist( true ),
|
|
|
|
|
mShowRawToltecMail( false )
|
|
|
|
|
{
|
|
|
|
|
mExternalWindow = (aParent == mainWindow );
|
|
|
|
@ -2872,12 +2872,12 @@ void KMReaderWin::injectAttachments()
|
|
|
|
|
TQString visibility;
|
|
|
|
|
TQString urlHandle;
|
|
|
|
|
TQString imgSrc;
|
|
|
|
|
if( !showAttachmentQuictdelist() ) {
|
|
|
|
|
urlHandle.append( "kmail:showAttachmentQuictdelist" );
|
|
|
|
|
imgSrc.append( "attachmentQuictdelistClosed.png" );
|
|
|
|
|
if( !showAttachmentQuicklist() ) {
|
|
|
|
|
urlHandle.append( "kmail:showAttachmentQuicklist" );
|
|
|
|
|
imgSrc.append( "attachmentQuicklistClosed.png" );
|
|
|
|
|
} else {
|
|
|
|
|
urlHandle.append( "kmail:hideAttachmentQuictdelist" );
|
|
|
|
|
imgSrc.append( "attachmentQuictdelistOpened.png" );
|
|
|
|
|
urlHandle.append( "kmail:hideAttachmentQuicklist" );
|
|
|
|
|
imgSrc.append( "attachmentQuicklistOpened.png" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQString html = renderAttachments( mRootNode, TQApplication::palette().active().background() );
|
|
|
|
@ -2919,7 +2919,7 @@ TQString KMReaderWin::renderAttachments(partNode * node, const TQColor &bgColor
|
|
|
|
|
if ( !subHtml.isEmpty() ) {
|
|
|
|
|
|
|
|
|
|
TQString visibility;
|
|
|
|
|
if ( !showAttachmentQuictdelist() ) {
|
|
|
|
|
if ( !showAttachmentQuicklist() ) {
|
|
|
|
|
visibility.append( "display:none;" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|