From ea3945a9bd8f9830f70b1efa133f9df13b19362f Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 16 Nov 2004 19:14:18 +0000 Subject: libopie1 goes into unsupported --- (limited to 'libopie/pim/test/test_todo.cpp') diff --git a/libopie/pim/test/test_todo.cpp b/libopie/pim/test/test_todo.cpp deleted file mode 100644 index 7440503..0000000 --- a/libopie/pim/test/test_todo.cpp +++ b/dev/null @@ -1,36 +0,0 @@ -#include -#include - -#include -#include -#include - -int main(int argc, char* argv[] ) { - - OTodoAccessXML* xml = new OTodoAccessXML("demo"); - OTodoAccess ac(xml); - int elc; - QTime timer; - qWarning("start loading"); - timer.start(); - ac.load(); - elc = timer.elapsed(); - qWarning("Elapsed loading %d %d", elc, elc/1000); - - timer.start(); - OTodoAccess::List lis = ac.allRecords(); - elc = timer.elapsed(); - qWarning("Elapsed allRecords %d %d", elc, elc/1000 ); - OTodoAccess::List::Iterator it; - timer.start(); -ac.save(); -/* - for( it = lis.begin(); it != lis.end(); ++it ) { - qWarning("Desc: " + (*it).summary() ); - qWarning("UID %d", (*it).uid() ); - } - */ -elc = timer.elapsed(); - - qWarning("elapsed iterating %d %d", elc, elc/1000 ); -}; -- cgit v0.9.0.2