summaryrefslogtreecommitdiffstats
path: root/kmail/messageactions.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/messageactions.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/messageactions.cpp')
-rw-r--r--kmail/messageactions.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kmail/messageactions.cpp b/kmail/messageactions.cpp
index 5c655cc34..b900b7b59 100644
--- a/kmail/messageactions.cpp
+++ b/kmail/messageactions.cpp
@@ -28,12 +28,12 @@
#include <kdebug.h>
#include <klocale.h>
-#include <qwidget.h>
+#include <tqwidget.h>
using namespace KMail;
-MessageActions::MessageActions( KActionCollection *ac, QWidget * parent ) :
- QObject( parent ),
+MessageActions::MessageActions( KActionCollection *ac, TQWidget * parent ) :
+ TQObject( parent ),
mParent( parent ),
mActionCollection( ac ),
mCurrentMessage( 0 ),
@@ -42,36 +42,36 @@ MessageActions::MessageActions( KActionCollection *ac, QWidget * parent ) :
mReplyActionMenu = new KActionMenu( i18n("Message->","&Reply"),
"mail_reply", mActionCollection,
"message_reply_menu" );
- connect( mReplyActionMenu, SIGNAL(activated()), this,
- SLOT(slotReplyToMsg()) );
+ connect( mReplyActionMenu, TQT_SIGNAL(activated()), this,
+ TQT_SLOT(slotReplyToMsg()) );
mReplyAction = new KAction( i18n("&Reply..."), "mail_reply", Key_R, this,
- SLOT(slotReplyToMsg()), mActionCollection, "reply" );
+ TQT_SLOT(slotReplyToMsg()), mActionCollection, "reply" );
mReplyActionMenu->insert( mReplyAction );
mReplyAuthorAction = new KAction( i18n("Reply to A&uthor..."), "mail_reply",
SHIFT+Key_A, this,
- SLOT(slotReplyAuthorToMsg()),
+ TQT_SLOT(slotReplyAuthorToMsg()),
mActionCollection, "reply_author" );
mReplyActionMenu->insert( mReplyAuthorAction );
mReplyAllAction = new KAction( i18n("Reply to &All..."), "mail_replyall",
- Key_A, this, SLOT(slotReplyAllToMsg()),
+ Key_A, this, TQT_SLOT(slotReplyAllToMsg()),
mActionCollection, "reply_all" );
mReplyActionMenu->insert( mReplyAllAction );
mReplyListAction = new KAction( i18n("Reply to Mailing-&List..."),
"mail_replylist", Key_L, this,
- SLOT(slotReplyListToMsg()), mActionCollection,
+ TQT_SLOT(slotReplyListToMsg()), mActionCollection,
"reply_list" );
mReplyActionMenu->insert( mReplyListAction );
mNoQuoteReplyAction = new KAction( i18n("Reply Without &Quote..."), SHIFT+Key_R,
- this, SLOT(slotNoQuoteReplyToMsg()), mActionCollection, "noquotereply" );
+ this, TQT_SLOT(slotNoQuoteReplyToMsg()), mActionCollection, "noquotereply" );
mCreateTodoAction = new KAction( i18n("Create Task/Reminder..."), "mail_todo",
- 0, this, SLOT(slotCreateTodo()), mActionCollection,
+ 0, this, TQT_SLOT(slotCreateTodo()), mActionCollection,
"create_todo" );
@@ -80,35 +80,35 @@ MessageActions::MessageActions( KActionCollection *ac, QWidget * parent ) :
mStatusMenu->insert(new KAction(KGuiItem(i18n("Mark Message as &Read"), "kmmsgread",
i18n("Mark selected messages as read")),
- 0, this, SLOT(slotSetMsgStatusRead()),
+ 0, this, TQT_SLOT(slotSetMsgStatusRead()),
mActionCollection, "status_read"));
mStatusMenu->insert(new KAction(KGuiItem(i18n("Mark Message as &New"), "kmmsgnew",
i18n("Mark selected messages as new")),
- 0, this, SLOT(slotSetMsgStatusNew()),
+ 0, this, TQT_SLOT(slotSetMsgStatusNew()),
mActionCollection, "status_new" ));
mStatusMenu->insert(new KAction(KGuiItem(i18n("Mark Message as &Unread"), "kmmsgunseen",
i18n("Mark selected messages as unread")),
- 0, this, SLOT(slotSetMsgStatusUnread()),
+ 0, this, TQT_SLOT(slotSetMsgStatusUnread()),
mActionCollection, "status_unread"));
mStatusMenu->insert( new KActionSeparator( this ) );
mToggleFlagAction = new KToggleAction(i18n("Mark Message as &Important"), "mail_flag",
- 0, this, SLOT(slotSetMsgStatusFlag()),
+ 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",
- 0, this, SLOT(slotSetMsgStatusTodo()),
+ 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,
- SLOT(editCurrentMessage()), mActionCollection, "edit" );
+ TQT_SLOT(editCurrentMessage()), mActionCollection, "edit" );
mEditAction->plugAccel( mActionCollection->kaccel() );
updateActions();
@@ -124,13 +124,13 @@ void MessageActions::setCurrentMessage(KMMessage * msg)
updateActions();
}
-void MessageActions::setSelectedSernums(const QValueList< Q_UINT32 > & sernums)
+void MessageActions::setSelectedSernums(const TQValueList< Q_UINT32 > & sernums)
{
mSelectedSernums = sernums;
updateActions();
}
-void MessageActions::setSelectedVisibleSernums(const QValueList< Q_UINT32 > & sernums)
+void MessageActions::setSelectedVisibleSernums(const TQValueList< Q_UINT32 > & sernums)
{
mVisibleSernums = sernums;
updateActions();
@@ -232,7 +232,7 @@ void MessageActions::slotSetMsgStatusTodo()
void MessageActions::setMessageStatus( KMMsgStatus status, bool toggle )
{
- QValueList<Q_UINT32> serNums = mVisibleSernums;
+ TQValueList<Q_UINT32> serNums = mVisibleSernums;
if ( serNums.isEmpty() && mCurrentMessage )
serNums.append( mCurrentMessage->getMsgSerNum() );
if ( serNums.empty() )