From 6cbc0e9d7b01ee97d5aeb5452ed3b0b5bbefa7b8 Mon Sep 17 00:00:00 2001 From: Carsten Pfeiffer Date: Tue, 21 Aug 2001 23:14:58 +0000 Subject: [PATCH] add some tooltips for the addressbook buttons svn path=/trunk/kdenetwork/kmail/; revision=111282 --- kmcomposewin.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index 158873761..0a52375a4 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include "kmcomposewin.h" #include "kmmessage.h" @@ -114,6 +115,10 @@ KMComposeWin::KMComposeWin(KMMessage *aMsg, QString id ) mFolder = NULL; mEditor = new KMEdit(&mMainWidget, this); disableBreaking = false; + QString tip = i18n("Select email address(es)"); + QToolTip::add( &mBtnTo, tip ); + QToolTip::add( &mBtnCc, tip ); + QToolTip::add( &mBtnReplyTo, tip ); mSpellCheckInProgress=FALSE; @@ -2418,7 +2423,7 @@ void KMComposeWin::slotIdentityActivated(int) mEditor->setText( edtText ); } mOldSigText = ident.signature(); - + // disable certain actions if there is no PGP user identity set // for this profile if (ident.pgpIdentity().isEmpty()) { @@ -2690,11 +2695,11 @@ void KMLineEdit::doCompletion(bool ctrlT) setText(prevAddr + box->text(0)); else box->hide(); - + cursorAtEnd(); return; } - + switch ( mode ) { case KGlobalSettings::CompletionPopup: