author | eilers <eilers> | 2003-08-01 14:22:29 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-08-01 14:22:29 (UTC) |
commit | 7d51872c86155fbbf27aeb8e49e7a336d909caac (patch) (unidiff) | |
tree | 55ecf3452d6711065e36c6bceab8ec52bd5525d8 /core/pim/todo/todomanager.cpp | |
parent | 34991bac7d96b1c17601be6a5607819342571e0c (diff) | |
download | opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.zip opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.gz opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.bz2 |
Merging changes from BRANCH_1_0 to HEAD
-rw-r--r-- | core/pim/todo/todomanager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/pim/todo/todomanager.cpp b/core/pim/todo/todomanager.cpp index df2e711..501cca7 100644 --- a/core/pim/todo/todomanager.cpp +++ b/core/pim/todo/todomanager.cpp | |||
@@ -4,49 +4,48 @@ | |||
4 | .>+-= | 4 | .>+-= |
5 | _;:, .> :=|. This program is free software; you can | 5 | _;:, .> :=|. This program is free software; you can |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ._= =} : or (at your option) any later version. | 10 | ._= =} : or (at your option) any later version. |
11 | .%`+i> _;_. | 11 | .%`+i> _;_. |
12 | .i_,=:_. -<s. This program is distributed in the hope that | 12 | .i_,=:_. -<s. This program is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ..}^=.= = ; Library General Public License for more | 17 | ..}^=.= = ; Library General Public License for more |
18 | ++= -. .` .: details. | 18 | ++= -. .` .: details. |
19 | : = ...= . :.=- | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = Library General Public License along with | 21 | -_. . . )=. = Library General Public License along with |
22 | -- :-=` this library; see the file COPYING.LIB. | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 24 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | #include <qdatetime.h> | ||
29 | #include <qpe/categoryselect.h> | 28 | #include <qpe/categoryselect.h> |
30 | 29 | ||
31 | #include "todomanager.h" | 30 | #include "todomanager.h" |
32 | 31 | ||
33 | using namespace Todo; | 32 | using namespace Todo; |
34 | 33 | ||
35 | TodoManager::TodoManager( QObject *obj ) | 34 | TodoManager::TodoManager( QObject *obj ) |
36 | : QObject( obj ) { | 35 | : QObject( obj ) { |
37 | m_db = 0l; | 36 | m_db = 0l; |
38 | QTime time; | 37 | QTime time; |
39 | time.start(); | 38 | time.start(); |
40 | int el = time.elapsed(); | 39 | int el = time.elapsed(); |
41 | qWarning("QTimer for loading %d", el/1000 ); | 40 | qWarning("QTimer for loading %d", el/1000 ); |
42 | } | 41 | } |
43 | TodoManager::~TodoManager() { | 42 | TodoManager::~TodoManager() { |
44 | delete m_db; | 43 | delete m_db; |
45 | } | 44 | } |
46 | OTodo TodoManager::event(int uid ) { | 45 | OTodo TodoManager::event(int uid ) { |
47 | return m_db->find( uid ); | 46 | return m_db->find( uid ); |
48 | } | 47 | } |
49 | void TodoManager::updateList() { | 48 | void TodoManager::updateList() { |
50 | qWarning("update list"); | 49 | qWarning("update list"); |
51 | m_list = m_db->allRecords(); | 50 | m_list = m_db->allRecords(); |
52 | } | 51 | } |