author | eilers <eilers> | 2003-03-03 15:40:14 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-03-03 15:40:14 (UTC) |
commit | fa8d1cc0721068b814f152d60f853600e42ef6e3 (patch) (side-by-side diff) | |
tree | 53241d41ba43e79b761719ac24e5026ce824c8d0 /core/pim/today/plugins/addressbook/addressplugin.cpp | |
parent | 22d353f6b27e06d02f652c064083ad41ab5bf977 (diff) | |
download | opie-fa8d1cc0721068b814f152d60f853600e42ef6e3.zip opie-fa8d1cc0721068b814f152d60f853600e42ef6e3.tar.gz opie-fa8d1cc0721068b814f152d60f853600e42ef6e3.tar.bz2 |
Added refresh. Otherwise it is not updating correctly if today is running
in fastload-mode..
Is there any possibility to get a signal after resume ?
Diffstat (limited to 'core/pim/today/plugins/addressbook/addressplugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/addressbook/addressplugin.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/core/pim/today/plugins/addressbook/addressplugin.cpp b/core/pim/today/plugins/addressbook/addressplugin.cpp index b78a54c..cb1683b 100644 --- a/core/pim/today/plugins/addressbook/addressplugin.cpp +++ b/core/pim/today/plugins/addressbook/addressplugin.cpp @@ -22,6 +22,6 @@ #include "addresspluginconfig.h" -#include "addresspluginwidget.h" - -AddressBookPlugin::AddressBookPlugin() { +AddressBookPlugin::AddressBookPlugin(): + m_abWidget( 0l ) +{ } @@ -36,3 +36,3 @@ QString AddressBookPlugin::pluginName() const { double AddressBookPlugin::versionNumber() const { - return 0.1; + return 0.2; } @@ -44,3 +44,4 @@ QString AddressBookPlugin::pixmapNameWidget() const { QWidget* AddressBookPlugin::widget( QWidget *wid ) { - return new AddressBookPluginWidget( wid, "AddressBook" ); + m_abWidget = new AddressBookPluginWidget( wid, "AddressBook" ); + return m_abWidget; } @@ -61,3 +62,8 @@ QString AddressBookPlugin::appName() const { bool AddressBookPlugin::excludeFromRefresh() const { - return true; + return false; +} + +void AddressBookPlugin::refresh() +{ + m_abWidget->refresh( NULL ); } |