Emit unreadCountChanged() DCOP signal after new mail arrived. This is necessary for fixing bug 66706 and was reviewed by Tobias and Don.

svn path=/trunk/kdepim/; revision=268256
wilder-work
Ingo Klcker 23 years ago
parent 388f6c0cb6
commit f0d7b2030b
  1. 3
      kmailIface.h
  2. 1
      kmmainwidget.cpp

@ -97,6 +97,9 @@ k_dcop:
virtual QStringList folderList() const =0;
virtual DCOPRef getFolder( const QString& vpath ) =0;
k_dcop_signals:
void unreadCountChanged();
k_dcop_hidden:
virtual bool showMail( Q_UINT32 serialNumber, QString messageId ) = 0;
};

@ -750,6 +750,7 @@ void KMMainWidget::slotMailChecked(bool newMail, bool sendOnCheck)
if (mBeepOnNew) {
KNotifyClient::beep();
}
kapp->dcopClient()->emitDCOPSignal( "unreadCountChanged()", QByteArray() );
// Todo:
// scroll mHeaders to show new items if current item would

Loading…
Cancel
Save