diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /kmail/messageactions.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/messageactions.cpp')
-rw-r--r-- | kmail/messageactions.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/messageactions.cpp b/kmail/messageactions.cpp index d899972c2..6dc248e7b 100644 --- a/kmail/messageactions.cpp +++ b/kmail/messageactions.cpp @@ -32,9 +32,9 @@ using namespace KMail; -MessageActions::MessageActions( KActionCollection *ac, TQWidget * tqparent ) : - TQObject( tqparent ), - mParent( tqparent ), +MessageActions::MessageActions( KActionCollection *ac, TQWidget * parent ) : + TQObject( parent ), + mParent( parent ), mActionCollection( ac ), mCurrentMessage( 0 ), mMessageView( 0 ) @@ -139,13 +139,13 @@ void MessageActions::setSelectedVisibleSernums(const TQValueList< TQ_UINT32 > & void MessageActions::updateActions() { bool singleMsg = (mCurrentMessage != 0); - if ( mCurrentMessage && mCurrentMessage->tqparent() ) { - if ( mCurrentMessage->tqparent()->isTemplates() ) + if ( mCurrentMessage && mCurrentMessage->parent() ) { + if ( mCurrentMessage->parent()->isTemplates() ) singleMsg = false; } const bool multiVisible = mVisibleSernums.count() > 0 || mCurrentMessage; const bool flagsAvailable = GlobalSettings::self()->allowLocalFlags() || - !((mCurrentMessage && mCurrentMessage->tqparent()) ? mCurrentMessage->tqparent()->isReadOnly() : true); + !((mCurrentMessage && mCurrentMessage->parent()) ? mCurrentMessage->parent()->isReadOnly() : true); mCreateTodoAction->setEnabled( singleMsg ); mReplyActionMenu->setEnabled( singleMsg ); @@ -262,7 +262,7 @@ void MessageActions::editCurrentMessage() if ( !mCurrentMessage ) return; KMCommand *command = 0; - KMFolder *folder = mCurrentMessage->tqparent(); + KMFolder *folder = mCurrentMessage->parent(); // edit, unlike send again, removes the message from the folder // we only want that for templates and drafts folders if ( folder && ( kmkernel->folderIsDraftOrOutbox( folder ) || |