-rw-r--r-- | kaddressbook/kabcore.cpp | 9 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 1 | ||||
-rw-r--r-- | kaddressbook/xxportselectdialog.cpp | 11 |
3 files changed, 13 insertions, 8 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index e34951a..ce5c755 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -2519,2 +2519,5 @@ void KABCore::requestForNameEmailUidList(const QString& sourceChannel, const QSt | |||
2519 | mEmailSourceChannel = sourceChannel; | 2519 | mEmailSourceChannel = sourceChannel; |
2520 | mEmailSourceUID = uid; | ||
2521 | callContactdialog(); | ||
2522 | #if 0 | ||
2520 | int wid = uid.toInt( &ok ); | 2523 | int wid = uid.toInt( &ok ); |
@@ -2540,3 +2543,3 @@ void KABCore::requestForNameEmailUidList(const QString& sourceChannel, const QSt | |||
2540 | //QCopEnvelope e("QPE/Application/kapi", "callContactdialog()"); | 2543 | //QCopEnvelope e("QPE/Application/kapi", "callContactdialog()"); |
2541 | 2544 | #endif | |
2542 | } | 2545 | } |
@@ -2553,3 +2556,3 @@ void KABCore::callContactdialog() | |||
2553 | QStringList uidList; | 2556 | QStringList uidList; |
2554 | qDebug("WIDTH %d ", QApplication::desktop()->width() ); | 2557 | qDebug(" KABCore::callContactdialog:DESKTOP WIDTH %d ", QApplication::desktop()->width() ); |
2555 | KABC::Addressee::List list = KABC::AddresseeDialog::getAddressees(this); | 2558 | KABC::Addressee::List list = KABC::AddresseeDialog::getAddressees(this); |
@@ -2562,3 +2565,3 @@ void KABCore::callContactdialog() | |||
2562 | } | 2565 | } |
2563 | QString uid = "unnamed"; | 2566 | QString uid = mEmailSourceUID; |
2564 | //qDebug("%s %s ", sourceChannel.latin1(), uid.latin1()); | 2567 | //qDebug("%s %s ", sourceChannel.latin1(), uid.latin1()); |
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index d89daee..4cef73a 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -392,2 +392,3 @@ class KABCore : public QWidget, public KSyncInterface | |||
392 | QString mEmailSourceChannel; | 392 | QString mEmailSourceChannel; |
393 | QString mEmailSourceUID; | ||
393 | void resizeEvent(QResizeEvent* e ); | 394 | void resizeEvent(QResizeEvent* e ); |
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp index e7bc8c0..0127fc0 100644 --- a/kaddressbook/xxportselectdialog.cpp +++ b/kaddressbook/xxportselectdialog.cpp | |||
@@ -244,4 +244,4 @@ void XXPortSelectDialog::initGUI() | |||
244 | 244 | ||
245 | QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHint(), | 245 | QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHintSmall(), |
246 | KDialog::spacingHint() ); | 246 | KDialog::spacingHintSmall() ); |
247 | 247 | ||
@@ -279,2 +279,3 @@ void XXPortSelectDialog::initGUI() | |||
279 | mFiltersCombo = new QComboBox( false, mButtonGroup ); | 279 | mFiltersCombo = new QComboBox( false, mButtonGroup ); |
280 | mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); | ||
280 | QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) ); | 281 | QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) ); |
@@ -287,5 +288,5 @@ void XXPortSelectDialog::initGUI() | |||
287 | groupLayout->addWidget( mCategoriesView, 3, 1 ); | 288 | groupLayout->addWidget( mCategoriesView, 3, 1 ); |
288 | 289 | mCategoriesView->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); | |
289 | if (QApplication::desktop()->height() == 480 ) | 290 | //if (QApplication::desktop()->height() == 480 ) |
290 | mCategoriesView->setMaximumHeight( 240 ); | 291 | // mCategoriesView->setMaximumHeight( 240 ); |
291 | topLayout->addWidget( mButtonGroup ); | 292 | topLayout->addWidget( mButtonGroup ); |