Fix unintended rename

pull/21/head
Timothy Pearson 12 years ago
parent be8e6cb1e8
commit 55f92ecb7c

@ -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;" );
} }

@ -319,10 +319,10 @@ public:
void setShowSignatureDetails( bool showDetails = true ) { mShowSignatureDetails = showDetails; } void setShowSignatureDetails( bool showDetails = true ) { mShowSignatureDetails = showDetails; }
/* show or hide the list that points to the attachments */ /* show or hide the list that points to the attachments */
bool showAttachmentQuictdelist() const { return mShowAttachmentQuictdelist; } bool showAttachmentQuicklist() const { return mShowAttachmentQuicklist; }
/* show or hide the list that points to the attachments */ /* show or hide the list that points to the attachments */
void setShowAttachmentQuictdelist( bool showAttachmentQuictdelist = true ) { mShowAttachmentQuictdelist = showAttachmentQuictdelist; } void setShowAttachmentQuicklist( bool showAttachmentQuicklist = true ) { mShowAttachmentQuicklist = showAttachmentQuicklist; }
// This controls whether a Toltec invitation is shown in its raw form or as a replacement text. // This controls whether a Toltec invitation is shown in its raw form or as a replacement text.
// This can be toggled with the "kmail:showRawToltecMail" link. // This can be toggled with the "kmail:showRawToltecMail" link.
@ -609,7 +609,7 @@ private:
int mLevelQuote; int mLevelQuote;
bool mDecrytMessageOverwrite; bool mDecrytMessageOverwrite;
bool mShowSignatureDetails; bool mShowSignatureDetails;
bool mShowAttachmentQuictdelist; bool mShowAttachmentQuicklist;
bool mShowRawToltecMail; bool mShowRawToltecMail;
bool mExternalWindow; bool mExternalWindow;
}; };

@ -25,6 +25,6 @@ install( FILES
enterprise_left.png enterprise_right.png enterprise_s_left.png enterprise_left.png enterprise_right.png enterprise_s_left.png
enterprise_sbar.png enterprise_s_right.png enterprise_sp_right.png enterprise_sbar.png enterprise_s_right.png enterprise_sp_right.png
enterprise_top_left.png enterprise_top.png enterprise_top_right.png enterprise_top_left.png enterprise_top.png enterprise_top_right.png
enterprise_sw.png enterprise_w.png attachmentQuictdelistClosed.png enterprise_sw.png enterprise_w.png attachmentQuicklistClosed.png
attachmentQuictdelistOpened.png attachmentQuicklistOpened.png
DESTINATION ${DATA_INSTALL_DIR}/kmail/pics ) DESTINATION ${DATA_INSTALL_DIR}/kmail/pics )

@ -27,8 +27,8 @@ pics_DATA = kmmsgdel.png kmmsgnew.png kmmsgunseen.png kmmsgread.png \
enterprise_top_right.png \ enterprise_top_right.png \
enterprise_sw.png \ enterprise_sw.png \
enterprise_w.png \ enterprise_w.png \
attachmentQuictdelistClosed.png \ attachmentQuicklistClosed.png \
attachmentQuictdelistOpened.png attachmentQuicklistOpened.png
picsdir = $(kde_datadir)/kmail/pics picsdir = $(kde_datadir)/kmail/pics

@ -444,16 +444,16 @@ namespace {
return true; return true;
} }
if ( url.path() == "showAttachmentQuictdelist" ) { if ( url.path() == "showAttachmentQuicklist" ) {
w->saveRelativePosition(); w->saveRelativePosition();
w->setShowAttachmentQuictdelist( true ); w->setShowAttachmentQuicklist( true );
w->update( true ); w->update( true );
return true; return true;
} }
if ( url.path() == "hideAttachmentQuictdelist" ) { if ( url.path() == "hideAttachmentQuicklist" ) {
w->saveRelativePosition(); w->saveRelativePosition();
w->setShowAttachmentQuictdelist( false ); w->setShowAttachmentQuicklist( false );
w->update( true ); w->update( true );
return true; return true;
} }
@ -490,9 +490,9 @@ namespace {
return i18n("Show signature details."); return i18n("Show signature details.");
if ( url.path() == "hideSignatureDetails" ) if ( url.path() == "hideSignatureDetails" )
return i18n("Hide signature details."); return i18n("Hide signature details.");
if ( url.path() == "hideAttachmentQuictdelist" ) if ( url.path() == "hideAttachmentQuicklist" )
return i18n( "Hide attachment list" ); return i18n( "Hide attachment list" );
if ( url.path() == "showAttachmentQuictdelist" ) if ( url.path() == "showAttachmentQuicklist" )
return i18n( "Show attachment list" ); return i18n( "Show attachment list" );
} }
return TQString() ; return TQString() ;

Loading…
Cancel
Save