diff options
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/folderrequester.cpp | 2 | ||||
-rw-r--r-- | kmail/kmail_part.cpp | 4 | ||||
-rw-r--r-- | kmail/kmcomposewin.cpp | 16 | ||||
-rw-r--r-- | kmail/kmheaders.cpp | 2 | ||||
-rw-r--r-- | kmail/kmreaderwin.cpp | 2 | ||||
-rw-r--r-- | kmail/recipientspicker.cpp | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/kmail/folderrequester.cpp b/kmail/folderrequester.cpp index f2f7ec162..51fdd7906 100644 --- a/kmail/folderrequester.cpp +++ b/kmail/folderrequester.cpp @@ -57,7 +57,7 @@ FolderRequester::FolderRequester( TQWidget *parent, KMFolderTree *tree ) setSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed ) ); - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); } //----------------------------------------------------------------------------- diff --git a/kmail/kmail_part.cpp b/kmail/kmail_part.cpp index 4d6654224..79eb175c7 100644 --- a/kmail/kmail_part.cpp +++ b/kmail/kmail_part.cpp @@ -99,7 +99,7 @@ KMailPart::KMailPart(TQWidget *parentWidget, const char *widgetName, // create a canvas to insert our widget TQWidget *canvas = new TQWidget(parentWidget, widgetName); - canvas->setFocusPolicy(TQ_ClickFocus); + canvas->setFocusPolicy(TQWidget::ClickFocus); setWidget(canvas); TDEGlobal::iconLoader()->addAppDir("kmail"); #if 0 @@ -124,7 +124,7 @@ KMailPart::KMailPart(TQWidget *parentWidget, const char *widgetName, kapp->config()); TQVBoxLayout *topLayout = new TQVBoxLayout(canvas); topLayout->addWidget(mainWidget); - mainWidget->setFocusPolicy(TQ_ClickFocus); + mainWidget->setFocusPolicy(TQWidget::ClickFocus); mStatusBar = new KMailStatusBarExtension(this); mStatusBar->addStatusBarItem( mainWidget->vacationScriptIndicator(), 2, false ); diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp index 3694e4af3..f9b3a884a 100644 --- a/kmail/kmcomposewin.cpp +++ b/kmail/kmcomposewin.cpp @@ -249,10 +249,10 @@ KMComposeWin::KMComposeWin( KMMessage *aMsg, uint id ) TQToolTip::add( mBtnCc, tip ); TQToolTip::add( mBtnBcc, tip ); - mBtnTo->setFocusPolicy(TQ_NoFocus); - mBtnCc->setFocusPolicy(TQ_NoFocus); - mBtnBcc->setFocusPolicy(TQ_NoFocus); - //mBtnFrom->setFocusPolicy(TQ_NoFocus); + mBtnTo->setFocusPolicy(TQWidget::NoFocus); + mBtnCc->setFocusPolicy(TQWidget::NoFocus); + mBtnBcc->setFocusPolicy(TQWidget::NoFocus); + //mBtnFrom->setFocusPolicy(TQWidget::NoFocus); connect(mBtnTo,TQT_SIGNAL(clicked()),TQT_SLOT(slotAddrBookTo())); connect(mBtnCc,TQT_SIGNAL(clicked()),TQT_SLOT(slotAddrBookTo())); @@ -385,10 +385,10 @@ KMComposeWin::KMComposeWin( KMMessage *aMsg, uint id ) setCaption( i18n("Composer") ); setMinimumSize(200,200); - mBtnIdentity->setFocusPolicy(TQ_NoFocus); - mBtnFcc->setFocusPolicy(TQ_NoFocus); - mBtnTransport->setFocusPolicy(TQ_NoFocus); - mBtnDictionary->setFocusPolicy( TQ_NoFocus ); + mBtnIdentity->setFocusPolicy(TQWidget::NoFocus); + mBtnFcc->setFocusPolicy(TQWidget::NoFocus); + mBtnTransport->setFocusPolicy(TQWidget::NoFocus); + mBtnDictionary->setFocusPolicy( TQWidget::NoFocus ); mAtmListView = new AttachmentListView( this, mSplitter, "attachment list view" ); diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp index 14419a170..116b2e575 100644 --- a/kmail/kmheaders.cpp +++ b/kmail/kmheaders.cpp @@ -143,7 +143,7 @@ KMHeaders::KMHeaders(KMMainWidget *aOwner, TQWidget *parent, connect(mPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotToggleColumn(int))); setShowSortIndicator(true); - setFocusPolicy( TQ_WheelFocus ); + setFocusPolicy( TQWidget::WheelFocus ); if (!pixmapsLoaded) { diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp index 00a71a78b..f0ae76c5f 100644 --- a/kmail/kmreaderwin.cpp +++ b/kmail/kmreaderwin.cpp @@ -1000,7 +1000,7 @@ void KMReaderWin::writeConfig( bool sync ) const { //----------------------------------------------------------------------------- void KMReaderWin::initHtmlWidget(void) { - mViewer->widget()->setFocusPolicy(TQ_WheelFocus); + mViewer->widget()->setFocusPolicy(TQWidget::WheelFocus); // Let's better be paranoid and disable plugins (it defaults to enabled): mViewer->setPluginsEnabled(false); mViewer->setJScriptEnabled(false); // just make this explicit diff --git a/kmail/recipientspicker.cpp b/kmail/recipientspicker.cpp index be47b022b..e549c789c 100644 --- a/kmail/recipientspicker.cpp +++ b/kmail/recipientspicker.cpp @@ -103,7 +103,7 @@ void RecipientItem::setAddressee( const TDEABC::Addressee &a, TQImage img = a.photo().data(); if ( !img.isNull() ) - mIcon = img.smoothScale( 20, 20, TQ_ScaleMin ); + mIcon = img.smoothScale( 20, 20, TQImage::ScaleMin ); else mIcon = TDEGlobal::iconLoader()->loadIcon( "preferences-desktop-personal", TDEIcon::Small ); |