Compilation fails for kdepim
Ismail Donmez
ismail at kde.org.tr
Wed Apr 13 19:39:48 BST 2005
Hi,
On Wednesday 13 April 2005 21:34, Andras Mantia wrote:
> Maybe somebody forgot to commit the kdelibs/kabc part of the patch?
Doesn't looık so :
<quote>
CVS commit by tokoe:
Add a method which returns whether the loading of the resources has been
finished.
M +5 -0 addressbook.cpp 1.78
M +8 -0 addressbook.h 1.54
--- kdelibs/kabc/addressbook.cpp #1.77:1.78
@@ -805,4 +805,9 @@ void AddressBook::cleanUp()
}
+bool AddressBook::loadingHasFinished() const
+{
+ return d->mPendingLoadResources.isEmpty();
+}
+
void AddressBook::resourceLoadingFinished( Resource *res )
{
--- kdelibs/kabc/addressbook.h #1.53:1.54
@@ -354,4 +354,12 @@ class KABC_EXPORT AddressBook : public Q
void emitAddressBookChanged() { emit addressBookChanged( this ); }
+ /**
+ Returns true when the loading of the addressbook has finished,
+ otherwise false.
+
+ @since 3.5
+ */
+ bool loadingHasFinished() const;
+
signals:
/**
</quote>
More information about the kde-core-devel
mailing list