-rw-r--r-- | bin/kdepim/WhatsNew.txt | 4 | ||||
-rw-r--r-- | kaddressbook/kabcore.cpp | 7 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 1 |
3 files changed, 10 insertions, 2 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 5037443..29688de 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,36 +1,36 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 1.9.12 ************ | 3 | ********** VERSION 1.9.12 ************ |
4 | 4 | ||
5 | Fix for the bug in KO/Pi What's Next view of version 1.9.11. | 5 | Fix for the bug in KO/Pi What's Next view of version 1.9.11. |
6 | 6 | ||
7 | Bugfix: Licence file is now shown again. | 7 | Bugfix: Licence file is now shown again. |
8 | 8 | ||
9 | OM/Pi now supports Unicode (utf8 charset). | 9 | OM/Pi now supports Unicode (utf8 charset). |
10 | Fixed some bugs in OM/Pi. | ||
10 | 11 | ||
11 | Why a new release? | 12 | KA/Pi has more German translation. |
12 | Because of the two bugs. | ||
13 | 13 | ||
14 | 14 | ||
15 | ********** VERSION 1.9.11 ************ | 15 | ********** VERSION 1.9.11 ************ |
16 | 16 | ||
17 | Fixed several problems in PWM/Pi, like | 17 | Fixed several problems in PWM/Pi, like |
18 | asking the user, if unsaved changed are pending | 18 | asking the user, if unsaved changed are pending |
19 | when closing the app. | 19 | when closing the app. |
20 | And PwM/Pi handles now different texts for the | 20 | And PwM/Pi handles now different texts for the |
21 | fields Description, Username, Password, configurable per category. | 21 | fields Description, Username, Password, configurable per category. |
22 | 22 | ||
23 | Fixed a crash in KO/Pi , when importing/loading vcs files | 23 | Fixed a crash in KO/Pi , when importing/loading vcs files |
24 | which have an entry with an attendee with state: | 24 | which have an entry with an attendee with state: |
25 | NEEDS ACTION | 25 | NEEDS ACTION |
26 | 26 | ||
27 | Fixed some problems in the German translation of OM/Pi, | 27 | Fixed some problems in the German translation of OM/Pi, |
28 | which makes some dialogs not fitting on the screen | 28 | which makes some dialogs not fitting on the screen |
29 | of the Z 5500. | 29 | of the Z 5500. |
30 | 30 | ||
31 | Fixed Qtopia crash, when disabling/deinstalling | 31 | Fixed Qtopia crash, when disabling/deinstalling |
32 | KO/Pi alarm applet. | 32 | KO/Pi alarm applet. |
33 | 33 | ||
34 | Implemented direct KDE<->KA/Pi sync for KA/Pi running | 34 | Implemented direct KDE<->KA/Pi sync for KA/Pi running |
35 | on Linux desktop. | 35 | on Linux desktop. |
36 | 36 | ||
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 4445310..d651224 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -336,50 +336,57 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const | |||
336 | 336 | ||
337 | 337 | ||
338 | #ifndef KAB_EMBEDDED | 338 | #ifndef KAB_EMBEDDED |
339 | connect( mViewManager, SIGNAL( urlDropped( const KURL& ) ), | 339 | connect( mViewManager, SIGNAL( urlDropped( const KURL& ) ), |
340 | mXXPortManager, SLOT( importVCard( const KURL& ) ) ); | 340 | mXXPortManager, SLOT( importVCard( const KURL& ) ) ); |
341 | 341 | ||
342 | connect( mDetails, SIGNAL( browse( const QString& ) ), | 342 | connect( mDetails, SIGNAL( browse( const QString& ) ), |
343 | SLOT( browse( const QString& ) ) ); | 343 | SLOT( browse( const QString& ) ) ); |
344 | 344 | ||
345 | 345 | ||
346 | mAddressBookService = new KAddressBookService( this ); | 346 | mAddressBookService = new KAddressBookService( this ); |
347 | 347 | ||
348 | #endif //KAB_EMBEDDED | 348 | #endif //KAB_EMBEDDED |
349 | 349 | ||
350 | mMessageTimer = new QTimer( this ); | 350 | mMessageTimer = new QTimer( this ); |
351 | connect( mMessageTimer, SIGNAL( timeout() ), this, SLOT( setCaptionBack() ) ); | 351 | connect( mMessageTimer, SIGNAL( timeout() ), this, SLOT( setCaptionBack() ) ); |
352 | mEditorDialog = 0; | 352 | mEditorDialog = 0; |
353 | createAddresseeEditorDialog( this ); | 353 | createAddresseeEditorDialog( this ); |
354 | setModified( false ); | 354 | setModified( false ); |
355 | mBRdisabled = false; | 355 | mBRdisabled = false; |
356 | #ifndef DESKTOP_VERSION | 356 | #ifndef DESKTOP_VERSION |
357 | infrared = 0; | 357 | infrared = 0; |
358 | #endif | 358 | #endif |
359 | //toggleBeamReceive( ); | 359 | //toggleBeamReceive( ); |
360 | |||
361 | // we have a toolbar repainting error on the Zaurus when starting KA/Pi | ||
362 | QTimer::singleShot( 1, this , SLOT ( updateToolBar())); | ||
360 | } | 363 | } |
361 | 364 | ||
365 | void KABCore::updateToolBar() | ||
366 | { | ||
367 | mMainWindow->toolBar()->repaint(); | ||
368 | } | ||
362 | KABCore::~KABCore() | 369 | KABCore::~KABCore() |
363 | { | 370 | { |
364 | // save(); | 371 | // save(); |
365 | //saveSettings(); | 372 | //saveSettings(); |
366 | //KABPrefs::instance()->writeConfig(); | 373 | //KABPrefs::instance()->writeConfig(); |
367 | delete AddresseeConfig::instance(); | 374 | delete AddresseeConfig::instance(); |
368 | mAddressBook = 0; | 375 | mAddressBook = 0; |
369 | KABC::StdAddressBook::close(); | 376 | KABC::StdAddressBook::close(); |
370 | 377 | ||
371 | delete syncManager; | 378 | delete syncManager; |
372 | #ifndef DESKTOP_VERSION | 379 | #ifndef DESKTOP_VERSION |
373 | if ( infrared ) | 380 | if ( infrared ) |
374 | delete infrared; | 381 | delete infrared; |
375 | #endif | 382 | #endif |
376 | } | 383 | } |
377 | void KABCore::receive( const QCString& cmsg, const QByteArray& data ) | 384 | void KABCore::receive( const QCString& cmsg, const QByteArray& data ) |
378 | { | 385 | { |
379 | qDebug("KA: QCOP message received: %s ", cmsg.data() ); | 386 | qDebug("KA: QCOP message received: %s ", cmsg.data() ); |
380 | if ( cmsg == "setDocument(QString)" ) { | 387 | if ( cmsg == "setDocument(QString)" ) { |
381 | QDataStream stream( data, IO_ReadOnly ); | 388 | QDataStream stream( data, IO_ReadOnly ); |
382 | QString fileName; | 389 | QString fileName; |
383 | stream >> fileName; | 390 | stream >> fileName; |
384 | recieve( fileName ); | 391 | recieve( fileName ); |
385 | return; | 392 | return; |
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index d2ee45d..0a52838 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -339,48 +339,49 @@ class KABCore : public QWidget, public KSyncInterface | |||
339 | */ | 339 | */ |
340 | void print(); | 340 | void print(); |
341 | 341 | ||
342 | /** | 342 | /** |
343 | Registers a new GUI client, so plugins can register its actions. | 343 | Registers a new GUI client, so plugins can register its actions. |
344 | */ | 344 | */ |
345 | void addGUIClient( KXMLGUIClient *client ); | 345 | void addGUIClient( KXMLGUIClient *client ); |
346 | 346 | ||
347 | void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid); | 347 | void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid); |
348 | void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); | 348 | void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); |
349 | void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid); | 349 | void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid); |
350 | 350 | ||
351 | 351 | ||
352 | signals: | 352 | signals: |
353 | void contactSelected( const QString &name ); | 353 | void contactSelected( const QString &name ); |
354 | void contactSelected( const QPixmap &pixmap ); | 354 | void contactSelected( const QPixmap &pixmap ); |
355 | public slots: | 355 | public slots: |
356 | void recieve(QString cmsg ); | 356 | void recieve(QString cmsg ); |
357 | void getFile( bool success ); | 357 | void getFile( bool success ); |
358 | void syncFileRequest(); | 358 | void syncFileRequest(); |
359 | void setDetailsVisible( bool visible ); | 359 | void setDetailsVisible( bool visible ); |
360 | void setDetailsToState(); | 360 | void setDetailsToState(); |
361 | // void slotSyncMenu( int ); | 361 | // void slotSyncMenu( int ); |
362 | private slots: | 362 | private slots: |
363 | void updateToolBar(); | ||
363 | void receive( const QCString& cmsg, const QByteArray& data ); | 364 | void receive( const QCString& cmsg, const QByteArray& data ); |
364 | void toggleBeamReceive( ); | 365 | void toggleBeamReceive( ); |
365 | void disableBR(bool); | 366 | void disableBR(bool); |
366 | void setJumpButtonBarVisible( bool visible ); | 367 | void setJumpButtonBarVisible( bool visible ); |
367 | void setCaptionBack(); | 368 | void setCaptionBack(); |
368 | void importFromOL(); | 369 | void importFromOL(); |
369 | void extensionModified( const KABC::Addressee::List &list ); | 370 | void extensionModified( const KABC::Addressee::List &list ); |
370 | void extensionChanged( int id ); | 371 | void extensionChanged( int id ); |
371 | void clipboardDataChanged(); | 372 | void clipboardDataChanged(); |
372 | void updateActionMenu(); | 373 | void updateActionMenu(); |
373 | void configureKeyBindings(); | 374 | void configureKeyBindings(); |
374 | void removeVoice(); | 375 | void removeVoice(); |
375 | #ifdef KAB_EMBEDDED | 376 | #ifdef KAB_EMBEDDED |
376 | void configureResources(); | 377 | void configureResources(); |
377 | #endif //KAB_EMBEDDED | 378 | #endif //KAB_EMBEDDED |
378 | 379 | ||
379 | void slotEditorDestroyed( const QString &uid ); | 380 | void slotEditorDestroyed( const QString &uid ); |
380 | void configurationChanged(); | 381 | void configurationChanged(); |
381 | void addressBookChanged(); | 382 | void addressBookChanged(); |
382 | 383 | ||
383 | private: | 384 | private: |
384 | bool mBRdisabled; | 385 | bool mBRdisabled; |
385 | #ifndef DESKTOP_VERSION | 386 | #ifndef DESKTOP_VERSION |
386 | QCopChannel* infrared; | 387 | QCopChannel* infrared; |