DBus port++

svn path=/trunk/KDE/kdepim/; revision=624950
wilder-work
Laurent Montel 19 years ago
parent f91eba3b4a
commit 24963a7858
  1. 4
      kmfolderdia.cpp
  2. 10
      kmmainwidget.cpp

@ -125,7 +125,7 @@ KMFolderDialog::KMFolderDialog(KMFolder *aFolder, KMFolderDir *aFolderDir,
FolderDiaTab* tab;
QFrame *box;
box = new KVBox( this );
box = new KVBox;
addPage( box, i18n("General") );
tab = new FolderDiaGeneralTab( this, aName, box );
addTab( tab );
@ -143,7 +143,7 @@ KMFolderDialog::KMFolderDialog(KMFolder *aFolder, KMFolderDir *aFolderDir,
bool noContent = mFolder ? mFolder->storage()->noContent() : false;
if ( !noContent && refFolder && ( folderType == KMFolderTypeImap || folderType == KMFolderTypeCachedImap ) ) {
if ( FolderDiaACLTab::supports( refFolder ) ) {
box = new KVBox( this );
box = new KVBox;
addPage( box, i18n("Access Control") );
tab = new FolderDiaACLTab( this, box );
addTab( tab );

@ -136,7 +136,8 @@ using KPIM::ProgressManager;
#include <q3stylesheet.h>
#include <kvbox.h>
#include <QTextDocument>
#include <QDBusConnection>
#include <QDBusMessage>
#include "customtemplates.h"
#include "customtemplates_kfg.h"
@ -894,10 +895,9 @@ void KMMainWidget::slotMailChecked( bool newMail, bool sendOnCheck,
if ( !newMail || newInFolder.isEmpty() )
return;
#ifdef __GNUC__
#warning port me
#endif
//kapp->dcopClient()->emitDCOPSignal( "unreadCountChanged()", QByteArray() );
QDBusMessage message =
QDBusMessage::createSignal("/KMail", "org.kde.kmail.kmail", "unreadCountChanged");
QDBusConnection::sessionBus().send(message);
// build summary for new mail message
bool showNotification = false;

Loading…
Cancel
Save