summaryrefslogtreecommitdiffstats
path: root/kmail/messageactions.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/messageactions.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
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() );