|
|
2013-04-23
, 17:01
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#142
|
|
|
2013-04-23
, 17:05
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#143
|
// If we got less than limit events, then it's the last batch
keepgoing = (count == limit);
|
|
2013-04-23
, 17:07
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#144
|
|
|
2013-04-23
, 17:12
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#145
|
getEvents() from 0 to 1000 libqtcontacts-tracker: initializing libqtcontacts-tracker 4.19.2-1+0m8 for /usr/bin/callbackuprestore [22419] ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ got 992 events getEvents() from 992 to 1992 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ got 539 events getEvents() from 1531 to 2531 .............. got 7 events getEvents() from 1538 to 2538 got 0 events
|
|
2013-04-23
, 17:14
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#146
|
|
|
2013-04-23
, 18:57
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#147
|
|
|
2013-04-23
, 19:46
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#148
|
model.setLimit(limit);
model.setOffset(offset);
model.getEvents();
offset += limit;
// Stop when we get nothing
keepgoing = (model.rowCount() > 0);
|
|
2013-04-23
, 20:44
|
|
Posts: 980 |
Thanked: 1,512 times |
Joined on Jul 2010
|
#149
|
|
|
2013-04-24
, 03:54
|
|
Posts: 39 |
Thanked: 37 times |
Joined on Mar 2012
@ Beijing
|
#150
|
https://github.com/wwwjfy/MeegoCallBackupRestore
~ teleshoes ~