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