diff options
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r-- | kmail/kmcomposewin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp index 42d55dcda..c12ff0629 100644 --- a/kmail/kmcomposewin.cpp +++ b/kmail/kmcomposewin.cpp @@ -1685,7 +1685,7 @@ void KMComposeWin::setupEditor(void) connect( mEditor, TQT_SIGNAL( currentFontChanged( const TQFont & ) ), TQT_TQOBJECT(this), TQT_SLOT( fontChanged( const TQFont & ) ) ); connect( mEditor, TQT_SIGNAL( currentAlignmentChanged( int ) ), - TQT_TQOBJECT(this), TQT_SLOT( tqalignmentChanged( int ) ) ); + TQT_TQOBJECT(this), TQT_SLOT( alignmentChanged( int ) ) ); } @@ -2010,7 +2010,7 @@ void KMComposeWin::setMsg(KMMessage* newMsg, bool mayAutoSign, mEditor->setText( otp.textualContent() ); mCharset = otp.textualContentCharset(); if ( partNode * n = root->findType( DwMime::kTypeText, DwMime::kSubtypeHtml ) ) - if ( partNode * p = n->tqparentNode() ) + if ( partNode * p = n->parentNode() ) if ( p->hasType( DwMime::kTypeMultipart ) && p->hasSubType( DwMime::kSubtypeAlternative ) ) if ( mMsg->headerField( "X-KMail-Markup" ) == "true" ) { @@ -2068,9 +2068,9 @@ void KMComposeWin::setMsg(KMMessage* newMsg, bool mayAutoSign, partNode *root = partNode::fromMessage( mMsg ); partNode *node = root->findType( DwMime::kTypeText, DwMime::kSubtypeHtml ); - if ( node && node->tqparentNode() && - node->tqparentNode()->hasType( DwMime::kTypeMultipart ) && - node->tqparentNode()->hasSubType( DwMime::kSubtypeAlternative ) ) { + if ( node && node->parentNode() && + node->parentNode()->hasType( DwMime::kTypeMultipart ) && + node->parentNode()->hasSubType( DwMime::kSubtypeAlternative ) ) { // we have a mp/al body part with a text and an html body kdDebug(5006) << "KMComposeWin::setMsg() : text/html found" << endl; firstAttachment = 2; @@ -5252,7 +5252,7 @@ void KMComposeWin::fontChanged( const TQFont &f ) fontSizeAction->setFontSize( f.pointSize() ); } -void KMComposeWin::tqalignmentChanged( int a ) +void KMComposeWin::alignmentChanged( int a ) { //toggleMarkup(); alignLeftAction->setChecked( ( a == AlignAuto ) || ( a & AlignLeft ) ); |