<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>karm: karmstorage.h Source File (karm)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> <style type="text/css"> <!-- hr { display: none; } #content h2 { margin-left: 0px; } table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; } td.mdRow { padding: 8px 20px; } td.md { font-weight: bold; } td.mdname1 { font-weight: bold; color: #602020; } td.mdname { font-weight: bold; color: #602020; } --> </style> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" /> <div id="nav_header_title" align="left">KDE PIM API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_left" style="text-align: left;"> / <a href="../../">API Reference</a> / <a href=".">karm</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <h2><a name="content"></a>karm</h2> <!-- Generated by Doxygen 1.5.5 --> <h1>karmstorage.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> * This file only:</span> <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2003 Mark Bucciarelli <mark@hubcapconsutling.com></span> <a name="l00004"></a>00004 <span class="comment"> *</span> <a name="l00005"></a>00005 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> <a name="l00006"></a>00006 <span class="comment"> * it under the terms of the GNU General Public License as published by</span> <a name="l00007"></a>00007 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span> <a name="l00008"></a>00008 <span class="comment"> * (at your option) any later version.</span> <a name="l00009"></a>00009 <span class="comment"> *</span> <a name="l00010"></a>00010 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> <a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> <a name="l00013"></a>00013 <span class="comment"> * GNU General Public License for more details.</span> <a name="l00014"></a>00014 <span class="comment"> *</span> <a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU General Public License along</span> <a name="l00016"></a>00016 <span class="comment"> * with this program; if not, write to the</span> <a name="l00017"></a>00017 <span class="comment"> * Free Software Foundation, Inc.</span> <a name="l00018"></a>00018 <span class="comment"> * 51 Franklin Street, Fifth Floor</span> <a name="l00019"></a>00019 <span class="comment"> * Boston, MA 02110-1301 USA.</span> <a name="l00020"></a>00020 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> */</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="preprocessor">#ifndef KARM_STORAGE_H</span> <a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define KARM_STORAGE_H</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <span class="preprocessor">#include <qdict.h></span> <a name="l00027"></a>00027 <span class="preprocessor">#include <qptrstack.h></span> <a name="l00028"></a>00028 <a name="l00029"></a>00029 <span class="preprocessor">#include "journal.h"</span> <a name="l00030"></a>00030 <span class="preprocessor">#include "reportcriteria.h"</span> <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="preprocessor">#include "desktoplist.h"</span> <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="preprocessor">#include <calendarresources.h></span> <a name="l00035"></a>00035 <span class="preprocessor">#include <vector></span> <a name="l00036"></a>00036 <span class="preprocessor">#include "resourcecalendar.h"</span> <a name="l00037"></a>00037 <span class="preprocessor">#include <kdepimmacros.h></span> <a name="l00038"></a>00038 <a name="l00039"></a>00039 <span class="keyword">class </span>QDateTime; <a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="classPreferences.html" title="Provide an interface to the configuration options for the program.">Preferences</a>; <a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="classTask.html" title="A class representing a task.">Task</a>; <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>; <a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="classHistoryEvent.html" title="One start/stop event that has been logged.">HistoryEvent</a>; <a name="l00044"></a>00044 <span class="keyword">class </span>KCal::Todo; <a name="l00045"></a>00045 <a name="l00068"></a><a class="code" href="classKarmStorage.html">00068</a> <span class="keyword">class </span><a class="code" href="classKarmStorage.html" title="Singleton to store/retrieve KArm data to/from persistent storage.">KarmStorage</a> <a name="l00069"></a>00069 { <a name="l00070"></a>00070 <span class="keyword">public</span>: <a name="l00071"></a>00071 <span class="comment">/*</span> <a name="l00072"></a>00072 <span class="comment"> * Return reference to storage singleton.</span> <a name="l00073"></a>00073 <span class="comment"> *</span> <a name="l00074"></a>00074 <span class="comment"> * The constructors are private, so this must be used to create a</span> <a name="l00075"></a>00075 <span class="comment"> * KarmStorage instance.</span> <a name="l00076"></a>00076 <span class="comment"> */</span> <a name="l00077"></a>00077 <span class="keyword">static</span> <a class="code" href="classKarmStorage.html" title="Singleton to store/retrieve KArm data to/from persistent storage.">KarmStorage</a> *instance(); <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="comment">/*</span> <a name="l00080"></a>00080 <span class="comment"> * Load the list view with tasks read from iCalendar file.</span> <a name="l00081"></a>00081 <span class="comment"> *</span> <a name="l00082"></a>00082 <span class="comment"> * Parses iCalendar file, builds list view items in the proper</span> <a name="l00083"></a>00083 <span class="comment"> * hierarchy, and loads them into the list view widget.</span> <a name="l00084"></a>00084 <span class="comment"> *</span> <a name="l00085"></a>00085 <span class="comment"> * If the file name passed in is the same as the last file name that was</span> <a name="l00086"></a>00086 <span class="comment"> * loaded, this method does nothing.</span> <a name="l00087"></a>00087 <span class="comment"> *</span> <a name="l00088"></a>00088 <span class="comment"> * This method considers any of the following conditions errors:</span> <a name="l00089"></a>00089 <span class="comment"> *</span> <a name="l00090"></a>00090 <span class="comment"> * @li the iCalendar file does not exist</span> <a name="l00091"></a>00091 <span class="comment"> * @li the iCalendar file is not readable</span> <a name="l00092"></a>00092 <span class="comment"> * @li the list group currently has list items</span> <a name="l00093"></a>00093 <span class="comment"> * @li an iCalendar todo has no related to attribute</span> <a name="l00094"></a>00094 <span class="comment"> * @li a todo is related to another todo which does not exist</span> <a name="l00095"></a>00095 <span class="comment"> *</span> <a name="l00096"></a>00096 <span class="comment"> * @param taskview The list group used in the TaskView</span> <a name="l00097"></a>00097 <span class="comment"> * @param preferences The current KArm preferences.</span> <a name="l00098"></a>00098 <span class="comment"> * @param fileName Override preferences' filename</span> <a name="l00099"></a>00099 <span class="comment"> *</span> <a name="l00100"></a>00100 <span class="comment"> * @return empty string if success, error message if error.</span> <a name="l00101"></a>00101 <span class="comment"> *</span> <a name="l00102"></a>00102 <span class="comment"> */</span> <a name="l00103"></a>00103 QString load(<a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>* taskview, <span class="keyword">const</span> <a class="code" href="classPreferences.html" title="Provide an interface to the configuration options for the program.">Preferences</a>* preferences, QString fileName=<span class="stringliteral">""</span> ); <a name="l00104"></a>00104 <a name="l00105"></a>00105 <span class="comment">/*</span> <a name="l00106"></a>00106 <span class="comment"> * Return the name of the iCal file</span> <a name="l00107"></a>00107 <span class="comment"> */</span> <a name="l00108"></a>00108 QString icalfile(); <a name="l00109"></a>00109 <a name="l00110"></a>00110 <span class="comment">/*</span> <a name="l00111"></a>00111 <span class="comment"> * Build up the taskview.</span> <a name="l00112"></a>00112 <span class="comment"> *</span> <a name="l00113"></a>00113 <span class="comment"> * This is needed if the iCal file has been modified</span> <a name="l00114"></a>00114 <span class="comment"> */</span> <a name="l00115"></a>00115 QString buildTaskView(KCal::ResourceCalendar *rc, <a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a> *view); <a name="l00116"></a>00116 <a name="l00117"></a>00117 <span class="comment">/* Close calendar and clear view. Release lock if holding one. */</span> <a name="l00118"></a>00118 <span class="keywordtype">void</span> closeStorage(<a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>* view); <a name="l00119"></a>00119 <a name="l00120"></a>00120 <span class="comment">/*</span> <a name="l00121"></a>00121 <span class="comment"> * Save all tasks and their totals to an iCalendar file.</span> <a name="l00122"></a>00122 <span class="comment"> *</span> <a name="l00123"></a>00123 <span class="comment"> * All tasks must have an associated VTODO object already created in the</span> <a name="l00124"></a>00124 <span class="comment"> * calendar file; that is, the task->uid() must refer to a valid VTODO in</span> <a name="l00125"></a>00125 <span class="comment"> * the calender.</span> <a name="l00126"></a>00126 <span class="comment"> * Delivers empty string if successful, else error msg.</span> <a name="l00127"></a>00127 <span class="comment"> *</span> <a name="l00128"></a>00128 <span class="comment"> * @param taskview The list group used in the TaskView</span> <a name="l00129"></a>00129 <span class="comment"> */</span> <a name="l00130"></a>00130 QString save(<a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>* taskview); <a name="l00131"></a>00131 <a name="l00145"></a>00145 QString <a class="code" href="classKarmStorage.html#31314be2d906119dfba7111b18b7b17b" title="Read tasks and their total times from a text file (legacy storage).">loadFromFlatFile</a>(<a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>* taskview, <span class="keyword">const</span> QString& filename); <a name="l00146"></a>00146 <a name="l00155"></a>00155 QString <a class="code" href="classKarmStorage.html#46b934dd0e1694f0f39e3e62a479638c" title="Reads tasks and their total times from text file (legacy).">loadFromFlatFileCumulative</a>(<a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>* taskview, <a name="l00156"></a>00156 <span class="keyword">const</span> QString& filename); <a name="l00157"></a>00157 <a name="l00161"></a>00161 QString <a class="code" href="classKarmStorage.html#4d36c935a652dabc297ea571b5f7cfbd" title="Output a report based on contents of ReportCriteria.">report</a>( <a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a> *taskview, <span class="keyword">const</span> <a class="code" href="classReportCriteria.html" title="Stores entries from export dialog.">ReportCriteria</a> &rc ); <a name="l00162"></a>00162 <a name="l00188"></a>00188 <span class="keywordtype">void</span> <a class="code" href="classKarmStorage.html#bd6111b30d7c4930d8c6d7b9d4daf294" title="Log the change in a task&#39;s time.">changeTime</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, <span class="keyword">const</span> <span class="keywordtype">long</span> deltaSeconds); <a name="l00189"></a>00189 <a name="l00206"></a>00206 <span class="keywordtype">bool</span> <a class="code" href="classKarmStorage.html#082d5930150c3db256c4dd23dbefb70c" title="Book time to a task.">bookTime</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, <span class="keyword">const</span> QDateTime& startDateTime, <a name="l00207"></a>00207 <span class="keywordtype">long</span> durationInSeconds); <a name="l00208"></a>00208 <a name="l00220"></a><a class="code" href="classKarmStorage.html#a9a16025d66033522656c8fd33996453">00220</a> <span class="keywordtype">void</span> <a class="code" href="classKarmStorage.html#a9a16025d66033522656c8fd33996453" title="Log a change to a task name.">setName</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, <span class="keyword">const</span> QString& oldname) { Q_UNUSED(task); Q_UNUSED(oldname); } <a name="l00221"></a>00221 <a name="l00222"></a>00222 <a name="l00231"></a><a class="code" href="classKarmStorage.html#905f23e1bab55b4493d237dfcc469134">00231</a> <span class="keywordtype">void</span> <a class="code" href="classKarmStorage.html#905f23e1bab55b4493d237dfcc469134" title="Log the event that a timer has started for a task.">startTimer</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task) { Q_UNUSED(task); } <a name="l00232"></a>00232 <a name="l00242"></a>00242 <span class="keywordtype">void</span> <a class="code" href="classKarmStorage.html#9deb86884cc80783e4488b39f0fac128" title="Log the event that the timer has stopped for this task.">stopTimer</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, QDateTime when=QDateTime::currentDateTime()); <a name="l00243"></a>00243 <a name="l00253"></a>00253 <span class="keywordtype">void</span> <a class="code" href="classKarmStorage.html#851699a706f7f2f98333023547908539" title="Log a new comment for this task.">addComment</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, <span class="keyword">const</span> QString& comment); <a name="l00254"></a>00254 <a name="l00255"></a>00255 <a name="l00264"></a>00264 <span class="keywordtype">bool</span> <a class="code" href="classKarmStorage.html#602128e1797fa4b69cf86ae2b5b57705" title="Remove this task from iCalendar file.">removeTask</a>(<a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task); <a name="l00265"></a>00265 <a name="l00278"></a>00278 QString <a class="code" href="classKarmStorage.html#aea5b0757f27a32779ca56ba7abdb75a" title="Add this task from iCalendar file.">addTask</a>(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, <span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>* parent); <a name="l00279"></a>00279 <a name="l00285"></a>00285 <span class="keywordtype">bool</span> <a class="code" href="classKarmStorage.html#506bee62614f3e59f7eae9466876f2bc" title="Check if the iCalendar file currently loaded has any Todos in it.">isEmpty</a>(); <a name="l00286"></a>00286 <a name="l00297"></a>00297 <span class="keywordtype">bool</span> <a class="code" href="classKarmStorage.html#6661913d2f9ff26a7d400890b291b73b" title="Check if iCalendar file name in the preferences has changed since the last call to...">isNewStorage</a>(<span class="keyword">const</span> <a class="code" href="classPreferences.html" title="Provide an interface to the configuration options for the program.">Preferences</a>* preferences) <span class="keyword">const</span>; <a name="l00298"></a>00298 <a name="l00300"></a>00300 QValueList<HistoryEvent> <a class="code" href="classKarmStorage.html#5cef00b43033590f9b509559540c8d22" title="Return a list of start/stop events for the given date range.">getHistory</a>(<span class="keyword">const</span> QDate& from, <span class="keyword">const</span> QDate& to); <a name="l00301"></a>00301 <a name="l00302"></a>00302 <span class="keyword">private</span>: <a name="l00303"></a>00303 <span class="keyword">static</span> <a class="code" href="classKarmStorage.html" title="Singleton to store/retrieve KArm data to/from persistent storage.">KarmStorage</a> *_instance; <a name="l00304"></a>00304 KCal::ResourceCalendar *_calendar; <a name="l00305"></a>00305 QString _icalfile; <a name="l00306"></a>00306 <a name="l00307"></a>00307 <a class="code" href="classKarmStorage.html" title="Singleton to store/retrieve KArm data to/from persistent storage.">KarmStorage</a>(); <a name="l00308"></a>00308 <span class="keywordtype">void</span> adjustFromLegacyFileFormat(<a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task); <a name="l00309"></a>00309 <span class="keywordtype">bool</span> parseLine(QString line, <span class="keywordtype">long</span> *time, QString *name, <span class="keywordtype">int</span> *level, <a name="l00310"></a>00310 DesktopList* desktopList); <a name="l00311"></a>00311 QString writeTaskAsTodo <a name="l00312"></a>00312 (<a class="code" href="classTask.html" title="A class representing a task.">Task</a>* task, <span class="keyword">const</span> <span class="keywordtype">int</span> level, QPtrStack< KCal::Todo >& parents); <a name="l00313"></a>00313 <span class="keywordtype">bool</span> saveCalendar(); <a name="l00314"></a>00314 <a name="l00315"></a>00315 KCal::Event* baseEvent(<span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a>*); <a name="l00316"></a>00316 <span class="keywordtype">bool</span> remoteResource( <span class="keyword">const</span> QString& file ) <span class="keyword">const</span>; <a name="l00317"></a>00317 <a name="l00325"></a>00325 QString exportcsvFile( <a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a> *taskview, <span class="keyword">const</span> <a class="code" href="classReportCriteria.html" title="Stores entries from export dialog.">ReportCriteria</a> &rc ); <a name="l00326"></a>00326 <a name="l00330"></a>00330 QString exportcsvHistory ( <a name="l00331"></a>00331 <a class="code" href="classTaskView.html" title="Container and interface for the tasks.">TaskView</a>* taskview, <a name="l00332"></a>00332 <span class="keyword">const</span> QDate& from, <a name="l00333"></a>00333 <span class="keyword">const</span> QDate& to, <a name="l00334"></a>00334 <span class="keyword">const</span> <a class="code" href="classReportCriteria.html" title="Stores entries from export dialog.">ReportCriteria</a> &rc <a name="l00335"></a>00335 ); <a name="l00336"></a>00336 <a name="l00337"></a>00337 <span class="keywordtype">long</span> printTaskHistory ( <a name="l00338"></a>00338 <span class="keyword">const</span> <a class="code" href="classTask.html" title="A class representing a task.">Task</a> *task, <a name="l00339"></a>00339 <span class="keyword">const</span> QMap<QString,long>& taskdaytotals, <a name="l00340"></a>00340 QMap<QString,long>& daytotals, <a name="l00341"></a>00341 <span class="keyword">const</span> QDate& from, <a name="l00342"></a>00342 <span class="keyword">const</span> QDate& to, <a name="l00343"></a>00343 <span class="keyword">const</span> <span class="keywordtype">int</span> level, <a name="l00344"></a>00344 std::vector <QString> &matrix, <a name="l00345"></a>00345 <span class="keyword">const</span> <a class="code" href="classReportCriteria.html" title="Stores entries from export dialog.">ReportCriteria</a> &rc <a name="l00346"></a>00346 ); <a name="l00347"></a>00347 }; <a name="l00348"></a>00348 <a name="l00356"></a><a class="code" href="classHistoryEvent.html">00356</a> <span class="keyword">class </span><a class="code" href="classHistoryEvent.html" title="One start/stop event that has been logged.">HistoryEvent</a> <a name="l00357"></a>00357 { <a name="l00358"></a>00358 <span class="keyword">public</span>: <a name="l00360"></a><a class="code" href="classHistoryEvent.html#88d02a28b767f7ca78503390df2bf43e">00360</a> <a class="code" href="classHistoryEvent.html#88d02a28b767f7ca78503390df2bf43e" title="Needed to be used in a value list.">HistoryEvent</a>() {} <a name="l00361"></a>00361 <a class="code" href="classHistoryEvent.html#88d02a28b767f7ca78503390df2bf43e" title="Needed to be used in a value list.">HistoryEvent</a>(QString uid, QString name, <span class="keywordtype">long</span> <a class="code" href="classHistoryEvent.html#0b3453cc88efd57c6d2aba1fad6e550a" title="In seconds.">duration</a>, <a name="l00362"></a>00362 QDateTime start, QDateTime stop, QString todoUid); <a name="l00363"></a>00363 QString uid() {<span class="keywordflow">return</span> _uid; } <a name="l00364"></a>00364 QString name() {<span class="keywordflow">return</span> _name; } <a name="l00366"></a><a class="code" href="classHistoryEvent.html#0b3453cc88efd57c6d2aba1fad6e550a">00366</a> <span class="keywordtype">long</span> <a class="code" href="classHistoryEvent.html#0b3453cc88efd57c6d2aba1fad6e550a" title="In seconds.">duration</a>() {<span class="keywordflow">return</span> _duration; } <a name="l00367"></a>00367 QDateTime start() {<span class="keywordflow">return</span> _start; } <a name="l00368"></a>00368 QDateTime stop() { <span class="keywordflow">return</span> _stop; } <a name="l00369"></a>00369 QString todoUid() {<span class="keywordflow">return</span> _todoUid; } <a name="l00370"></a>00370 <a name="l00371"></a>00371 <span class="keyword">private</span>: <a name="l00372"></a>00372 QString _uid; <a name="l00373"></a>00373 QString _todoUid; <a name="l00374"></a>00374 QString _name; <a name="l00375"></a>00375 <span class="keywordtype">long</span> _duration; <a name="l00376"></a>00376 QDateTime _start; <a name="l00377"></a>00377 QDateTime _stop; <a name="l00378"></a>00378 <a name="l00379"></a>00379 }; <a name="l00380"></a>00380 <a name="l00381"></a>00381 <span class="preprocessor">#endif // KARM_STORAGE_H</span> </pre></div></div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>karm</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classDesktopTracker.html">desktoptracker</option>, <option value="classEditTaskDialog.html">edittaskdialog</option>, <option value="classHistoryEvent.html">historyevent</option>, <option value="classIdleTimeDetector.html">idletimedetector</option>, <option value="classKAccelMenuWatch.html">kaccelmenuwatch</option>, <option value="classKarmDCOPIface.html">karmdcopiface</option>, <option value="classKarmStorage.html">karmstorage</option>, <option value="classKArmTimeWidget.html">karmtimewidget</option>, <option value="classMainWindow.html">mainwindow</option>, <option value="classMyPrinter.html">myprinter</option>, <option value="classPlannerParser.html">plannerparser</option>, <option value="classPreferences.html">preferences</option>, <option value="classReportCriteria.html">reportcriteria</option>, <option value="classTask.html">task</option>, <option value="classTaskView.html">taskview</option>, <option value="classTaskViewWhatsThis.html">taskviewwhatsthis</option>, <option value="classTimeKard.html">timekard</option>, <option value="classWeek.html">week</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../akregator/html/index.html">akregator</a></li><li> <a href="../../akregator/src/html/index.html">src</a></li><li> <a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li> <a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li> <a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li> <a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li> <a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li> <a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li> <a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>