Connect signal/slot

svn path=/trunk/KDE/kdepim/; revision=677990
wilder-work
Laurent Montel 19 years ago
parent 9e4c2f273b
commit 0881bb7d13
  1. 11
      configuredialog.cpp

@ -113,6 +113,7 @@ using MailTransport::TransportManagementWidget;
#include <QValidator>
#include <QVBoxLayout>
#include <QWhatsThis>
#include <QDBusConnection>
//Added by qt3to4:
#include <q3buttongroup.h>
@ -3983,13 +3984,7 @@ SecurityPageSMimeTab::SecurityPageSMimeTab( QWidget * parent )
bgHTTPProxy->addButton( mWidget->honorHTTPProxyRB );
bgHTTPProxy->addButton( mWidget->useCustomHTTPProxyRB );
#ifdef __GNUC__
#warning Port me!
#endif
// if ( !connectDCOPSignal( 0, "KPIM::CryptoConfig", "changed()",
// "load()", false ) )
kError(5650) << "SecurityPageSMimeTab: connection to CryptoConfig's changed() failed" << endl;
QDBusConnection::sessionBus().connect(QString(), QString(), "org.kde.kleo.CryptoConfig", "changed",this, SLOT(load()) );
}
SecurityPageSMimeTab::~SecurityPageSMimeTab()
@ -4782,7 +4777,7 @@ void MiscPage::GroupwareTab::doLoadFromGlobalSettings() {
it != a->folder()->child()->constEnd();
++it ) {
node = *it;
if (!node->isDir() && node->name() == "INBOX")
if (!node->isDir() && node->name() == "INBOX")
break;
}

Loading…
Cancel
Save