diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /kmail/messageactions.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail/messageactions.cpp')
-rw-r--r-- | kmail/messageactions.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/messageactions.cpp b/kmail/messageactions.cpp index be2d4c9da..e7233d3ea 100644 --- a/kmail/messageactions.cpp +++ b/kmail/messageactions.cpp @@ -42,36 +42,36 @@ MessageActions::MessageActions( TDEActionCollection *ac, TQWidget * parent ) : mReplyActionMenu = new TDEActionMenu( i18n("Message->","&Reply"), "mail-reply-sender", mActionCollection, "message_reply_menu" ); - connect( mReplyActionMenu, TQT_SIGNAL(activated()), this, - TQT_SLOT(slotReplyToMsg()) ); + connect( mReplyActionMenu, TQ_SIGNAL(activated()), this, + TQ_SLOT(slotReplyToMsg()) ); mReplyAction = new TDEAction( i18n("&Reply..."), "mail-reply-sender", Key_R, this, - TQT_SLOT(slotReplyToMsg()), mActionCollection, "reply" ); + TQ_SLOT(slotReplyToMsg()), mActionCollection, "reply" ); mReplyActionMenu->insert( mReplyAction ); mReplyAuthorAction = new TDEAction( i18n("Reply to A&uthor..."), "mail-reply-sender", SHIFT+Key_A, this, - TQT_SLOT(slotReplyAuthorToMsg()), + TQ_SLOT(slotReplyAuthorToMsg()), mActionCollection, "reply_author" ); mReplyActionMenu->insert( mReplyAuthorAction ); mReplyAllAction = new TDEAction( i18n("Reply to &All..."), "mail-reply-all", - Key_A, this, TQT_SLOT(slotReplyAllToMsg()), + Key_A, this, TQ_SLOT(slotReplyAllToMsg()), mActionCollection, "reply_all" ); mReplyActionMenu->insert( mReplyAllAction ); mReplyListAction = new TDEAction( i18n("Reply to Mailing-&List..."), "mail_replylist", Key_L, this, - TQT_SLOT(slotReplyListToMsg()), mActionCollection, + TQ_SLOT(slotReplyListToMsg()), mActionCollection, "reply_list" ); mReplyActionMenu->insert( mReplyListAction ); mNoQuoteReplyAction = new TDEAction( i18n("Reply Without &Quote..."), SHIFT+Key_R, - this, TQT_SLOT(slotNoQuoteReplyToMsg()), mActionCollection, "noquotereply" ); + this, TQ_SLOT(slotNoQuoteReplyToMsg()), mActionCollection, "noquotereply" ); mCreateTodoAction = new TDEAction( i18n("Create Task/Reminder..."), "mail_todo", - 0, this, TQT_SLOT(slotCreateTodo()), mActionCollection, + 0, this, TQ_SLOT(slotCreateTodo()), mActionCollection, "create_todo" ); @@ -80,35 +80,35 @@ MessageActions::MessageActions( TDEActionCollection *ac, TQWidget * parent ) : mStatusMenu->insert(new TDEAction(KGuiItem(i18n("Mark Message as &Read"), "kmmsgread", i18n("Mark selected messages as read")), - 0, this, TQT_SLOT(slotSetMsgStatusRead()), + 0, this, TQ_SLOT(slotSetMsgStatusRead()), mActionCollection, "status_read")); mStatusMenu->insert(new TDEAction(KGuiItem(i18n("Mark Message as &New"), "kmmsgnew", i18n("Mark selected messages as new")), - 0, this, TQT_SLOT(slotSetMsgStatusNew()), + 0, this, TQ_SLOT(slotSetMsgStatusNew()), mActionCollection, "status_new" )); mStatusMenu->insert(new TDEAction(KGuiItem(i18n("Mark Message as &Unread"), "kmmsgunseen", i18n("Mark selected messages as unread")), - 0, this, TQT_SLOT(slotSetMsgStatusUnread()), + 0, this, TQ_SLOT(slotSetMsgStatusUnread()), mActionCollection, "status_unread")); mStatusMenu->insert( new TDEActionSeparator( this ) ); mToggleFlagAction = new TDEToggleAction(i18n("Mark Message as &Important"), "mail_flag", - 0, this, TQT_SLOT(slotSetMsgStatusFlag()), + 0, this, TQ_SLOT(slotSetMsgStatusFlag()), mActionCollection, "status_flag"); mToggleFlagAction->setCheckedState( i18n("Remove &Important Message Mark") ); mStatusMenu->insert( mToggleFlagAction ); mToggleTodoAction = new TDEToggleAction(i18n("Mark Message as &Action Item"), "mail_todo", - 0, this, TQT_SLOT(slotSetMsgStatusTodo()), + 0, this, TQ_SLOT(slotSetMsgStatusTodo()), mActionCollection, "status_todo"); mToggleTodoAction->setCheckedState( i18n("Remove &Action Item Message Mark") ); mStatusMenu->insert( mToggleTodoAction ); mEditAction = new TDEAction( i18n("&Edit Message"), "edit", Key_T, this, - TQT_SLOT(editCurrentMessage()), mActionCollection, "edit" ); + TQ_SLOT(editCurrentMessage()), mActionCollection, "edit" ); mEditAction->plugAccel( mActionCollection->tdeaccel() ); updateActions(); @@ -174,8 +174,8 @@ template<typename T> void MessageActions::replyCommand() return; const TQString text = mMessageView ? mMessageView->copyText() : ""; KMCommand *command = new T( mParent, mCurrentMessage, text ); - connect( command, TQT_SIGNAL( completed( KMCommand * ) ), - this, TQT_SIGNAL( replyActionFinished() ) ); + connect( command, TQ_SIGNAL( completed( KMCommand * ) ), + this, TQ_SIGNAL( replyActionFinished() ) ); command->start(); } |