add some tooltips for the addressbook buttons

svn path=/trunk/kdenetwork/kmail/; revision=111282
wilder-work
Carsten Pfeiffer 25 years ago
parent 1866c8ef46
commit 6cbc0e9d7b
  1. 11
      kmcomposewin.cpp

@ -10,6 +10,7 @@
#include <qdragobject.h>
#include <qlistview.h>
#include <qcombobox.h>
#include <qtooltip.h>
#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:

Loading…
Cancel
Save