summaryrefslogtreecommitdiffstats
path: root/kmail/messageactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/messageactions.cpp')
-rw-r--r--kmail/messageactions.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/messageactions.cpp b/kmail/messageactions.cpp
index c1f569925..2e1aac7f6 100644
--- a/kmail/messageactions.cpp
+++ b/kmail/messageactions.cpp
@@ -32,82 +32,82 @@
using namespace KMail;
-MessageActions::MessageActions( KActionCollection *ac, TQWidget * parent ) :
+MessageActions::MessageActions( TDEActionCollection *ac, TQWidget * parent ) :
TQObject( parent ),
mParent( parent ),
mActionCollection( ac ),
mCurrentMessage( 0 ),
mMessageView( 0 )
{
- mReplyActionMenu = new KActionMenu( i18n("Message->","&Reply"),
+ mReplyActionMenu = new TDEActionMenu( i18n("Message->","&Reply"),
"mail_reply", mActionCollection,
"message_reply_menu" );
connect( mReplyActionMenu, TQT_SIGNAL(activated()), this,
TQT_SLOT(slotReplyToMsg()) );
- mReplyAction = new KAction( i18n("&Reply..."), "mail_reply", Key_R, this,
+ mReplyAction = new TDEAction( i18n("&Reply..."), "mail_reply", Key_R, this,
TQT_SLOT(slotReplyToMsg()), mActionCollection, "reply" );
mReplyActionMenu->insert( mReplyAction );
- mReplyAuthorAction = new KAction( i18n("Reply to A&uthor..."), "mail_reply",
+ mReplyAuthorAction = new TDEAction( i18n("Reply to A&uthor..."), "mail_reply",
SHIFT+Key_A, this,
TQT_SLOT(slotReplyAuthorToMsg()),
mActionCollection, "reply_author" );
mReplyActionMenu->insert( mReplyAuthorAction );
- mReplyAllAction = new KAction( i18n("Reply to &All..."), "mail_replyall",
+ mReplyAllAction = new TDEAction( i18n("Reply to &All..."), "mail_replyall",
Key_A, this, TQT_SLOT(slotReplyAllToMsg()),
mActionCollection, "reply_all" );
mReplyActionMenu->insert( mReplyAllAction );
- mReplyListAction = new KAction( i18n("Reply to Mailing-&List..."),
+ mReplyListAction = new TDEAction( i18n("Reply to Mailing-&List..."),
"mail_replylist", Key_L, this,
TQT_SLOT(slotReplyListToMsg()), mActionCollection,
"reply_list" );
mReplyActionMenu->insert( mReplyListAction );
- mNoQuoteReplyAction = new KAction( i18n("Reply Without &Quote..."), SHIFT+Key_R,
+ mNoQuoteReplyAction = new TDEAction( i18n("Reply Without &Quote..."), SHIFT+Key_R,
this, TQT_SLOT(slotNoQuoteReplyToMsg()), mActionCollection, "noquotereply" );
- mCreateTodoAction = new KAction( i18n("Create Task/Reminder..."), "mail_todo",
+ mCreateTodoAction = new TDEAction( i18n("Create Task/Reminder..."), "mail_todo",
0, this, TQT_SLOT(slotCreateTodo()), mActionCollection,
"create_todo" );
- mStatusMenu = new KActionMenu ( i18n( "Mar&k Message" ),
+ mStatusMenu = new TDEActionMenu ( i18n( "Mar&k Message" ),
mActionCollection, "set_status" );
- mStatusMenu->insert(new KAction(KGuiItem(i18n("Mark Message as &Read"), "kmmsgread",
+ mStatusMenu->insert(new TDEAction(KGuiItem(i18n("Mark Message as &Read"), "kmmsgread",
i18n("Mark selected messages as read")),
0, this, TQT_SLOT(slotSetMsgStatusRead()),
mActionCollection, "status_read"));
- mStatusMenu->insert(new KAction(KGuiItem(i18n("Mark Message as &New"), "kmmsgnew",
+ mStatusMenu->insert(new TDEAction(KGuiItem(i18n("Mark Message as &New"), "kmmsgnew",
i18n("Mark selected messages as new")),
0, this, TQT_SLOT(slotSetMsgStatusNew()),
mActionCollection, "status_new" ));
- mStatusMenu->insert(new KAction(KGuiItem(i18n("Mark Message as &Unread"), "kmmsgunseen",
+ mStatusMenu->insert(new TDEAction(KGuiItem(i18n("Mark Message as &Unread"), "kmmsgunseen",
i18n("Mark selected messages as unread")),
0, this, TQT_SLOT(slotSetMsgStatusUnread()),
mActionCollection, "status_unread"));
- mStatusMenu->insert( new KActionSeparator( this ) );
+ mStatusMenu->insert( new TDEActionSeparator( this ) );
- mToggleFlagAction = new KToggleAction(i18n("Mark Message as &Important"), "mail_flag",
+ mToggleFlagAction = new TDEToggleAction(i18n("Mark Message as &Important"), "mail_flag",
0, this, TQT_SLOT(slotSetMsgStatusFlag()),
mActionCollection, "status_flag");
mToggleFlagAction->setCheckedState( i18n("Remove &Important Message Mark") );
mStatusMenu->insert( mToggleFlagAction );
- mToggleTodoAction = new KToggleAction(i18n("Mark Message as &Action Item"), "mail_todo",
+ mToggleTodoAction = new TDEToggleAction(i18n("Mark Message as &Action Item"), "mail_todo",
0, this, TQT_SLOT(slotSetMsgStatusTodo()),
mActionCollection, "status_todo");
mToggleTodoAction->setCheckedState( i18n("Remove &Action Item Message Mark") );
mStatusMenu->insert( mToggleTodoAction );
- mEditAction = new KAction( i18n("&Edit Message"), "edit", Key_T, this,
+ mEditAction = new TDEAction( i18n("&Edit Message"), "edit", Key_T, this,
TQT_SLOT(editCurrentMessage()), mActionCollection, "edit" );
mEditAction->plugAccel( mActionCollection->kaccel() );