summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-02 09:37:26 (UTC)
committer zautrix <zautrix>2005-07-02 09:37:26 (UTC)
commit98273ae9af4d39181ace21fe3dfade141e5f8afb (patch) (side-by-side diff)
tree76b538b328f11eb506aee74f4ab9e86ffdef1956
parentcf243d3d9faa7d79eb706f6e70c8d01926e9da89 (diff)
downloadkdepimpi-98273ae9af4d39181ace21fe3dfade141e5f8afb.zip
kdepimpi-98273ae9af4d39181ace21fe3dfade141e5f8afb.tar.gz
kdepimpi-98273ae9af4d39181ace21fe3dfade141e5f8afb.tar.bz2
raise fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index b4e0b07..d5de9cb 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -2563,48 +2563,49 @@ void KABCore::requestForNameEmailUidList(const QString& sourceChannel, const QSt
/*
{
QCopEnvelope e("QPE/Application/kapi", "callContactdialog()");
}
*/
QTimer::singleShot( 1,this, SLOT ( resizeAndCallContactdialog() ) );
return;
}
} else {
qDebug("KABCore::requestForNameEmailUidList:: Got invalid uid ");
}
callContactdialog();
//QCopEnvelope e("QPE/Application/kapi", "callContactdialog()");
#endif
}
void KABCore::resizeAndCallContactdialog()
{
updateMainWindow();
QTimer::singleShot( 10,this, SLOT ( callContactdialog() ) );
}
void KABCore::doRingSync()
{
+ topLevelWidget()->raise();
syncManager->multiSync( false );
}
void KABCore::callContactdialog()
{
static bool running = false;
if (running) return;
running = true;
QStringList nameList;
QStringList emailList;
QStringList uidList;
qDebug(" KABCore::callContactdialog:DESKTOP WIDTH %d ", QApplication::desktop()->width() );
KABC::Addressee::List list = KABC::AddresseeDialog::getAddressees(this);
uint i=0;
for (i=0; i < list.count(); i++)
{
nameList.append(list[i].realName());
emailList.append(list[i].preferredEmail());
uidList.append(list[i].uid());
}
QString uid = mEmailSourceUID;
//qDebug("%s %s ", sourceChannel.latin1(), uid.latin1());
bool res = ExternalAppHandler::instance()->returnNameEmailUidListFromKAPI(mEmailSourceChannel, uid, nameList, emailList, uidList);
running = false;
}