summaryrefslogtreecommitdiffstats
path: root/kmail/kmcomposewin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-15 01:44:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-15 01:44:26 +0000
commit2d0cd394291d27533313adaf3dfdcd2eb92f61da (patch)
treef54a0d39f384783af4982dc9b153d1ab563261e3 /kmail/kmcomposewin.cpp
parent1c93fca14d9ce37499bcfdf994c660186a0b6f17 (diff)
downloadtdepim-2d0cd394291d27533313adaf3dfdcd2eb92f61da.tar.gz
tdepim-2d0cd394291d27533313adaf3dfdcd2eb92f61da.zip
Fix Qt3 compilation of kdepim
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227976 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r--kmail/kmcomposewin.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index ff4659c86..42d55dcda 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -250,10 +250,10 @@ KMComposeWin::KMComposeWin( KMMessage *aMsg, uint id )
TQToolTip::add( mBtnCc, tip );
TQToolTip::add( mBtnBcc, tip );
- mBtnTo->setFocusPolicy(Qt::NoFocus);
- mBtnCc->setFocusPolicy(Qt::NoFocus);
- mBtnBcc->setFocusPolicy(Qt::NoFocus);
- //mBtnFrom->setFocusPolicy(Qt::NoFocus);
+ mBtnTo->setFocusPolicy(TQ_NoFocus);
+ mBtnCc->setFocusPolicy(TQ_NoFocus);
+ mBtnBcc->setFocusPolicy(TQ_NoFocus);
+ //mBtnFrom->setFocusPolicy(TQ_NoFocus);
connect(mBtnTo,TQT_SIGNAL(clicked()),TQT_SLOT(slotAddrBookTo()));
connect(mBtnCc,TQT_SIGNAL(clicked()),TQT_SLOT(slotAddrBookTo()));
@@ -386,10 +386,10 @@ KMComposeWin::KMComposeWin( KMMessage *aMsg, uint id )
setCaption( i18n("Composer") );
setMinimumSize(200,200);
- mBtnIdentity->setFocusPolicy(Qt::NoFocus);
- mBtnFcc->setFocusPolicy(Qt::NoFocus);
- mBtnTransport->setFocusPolicy(Qt::NoFocus);
- mBtnDictionary->setFocusPolicy( Qt::NoFocus );
+ mBtnIdentity->setFocusPolicy(TQ_NoFocus);
+ mBtnFcc->setFocusPolicy(TQ_NoFocus);
+ mBtnTransport->setFocusPolicy(TQ_NoFocus);
+ mBtnDictionary->setFocusPolicy( TQ_NoFocus );
mAtmListView = new AttachmentListView( this, mSplitter,
"attachment list view" );
@@ -888,7 +888,7 @@ void KMComposeWin::slotView(void)
//This sucks awfully, but no, I cannot get an activated(int id) from
// actionContainer()
- if (!TQT_TQOBJECT(sender())->isA("KToggleAction"))
+ if (!TQT_TQOBJECT_CONST(sender())->isA("KToggleAction"))
return;
KToggleAction *act = (KToggleAction *) sender();