KCalCore Library
sorting.h
00001 /* 00002 This file is part of the kcalcore library. 00003 00004 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 00005 Contact: Alvaro Manera <alvaro.manera@nokia.com> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00022 #ifndef KCALCORE_SORTING_P_H 00023 #define KCALCORE_SORTING_P_H 00024 00025 #include "event.h" 00026 #include "journal.h" 00027 #include "todo.h" 00028 #include "freebusy.h" 00029 #include "person.h" 00030 00031 #include "kcalcore_export.h" 00032 00033 namespace KCalCore { 00034 00035 namespace Events { 00036 00037 KCALCORE_EXPORT bool startDateLessThan( const Event::Ptr &e1, const Event::Ptr &e2 ); 00038 00039 KCALCORE_EXPORT bool summaryLessThan( const Event::Ptr &e1, const Event::Ptr &e2 ); 00040 00041 KCALCORE_EXPORT bool summaryMoreThan( const Event::Ptr &e1, const Event::Ptr &e2 ); 00042 00043 KCALCORE_EXPORT bool startDateMoreThan( const Event::Ptr &e1, const Event::Ptr &e2 ); 00044 00045 KCALCORE_EXPORT bool endDateLessThan( const Event::Ptr &e1, const Event::Ptr &e2 ); 00046 00047 KCALCORE_EXPORT bool endDateMoreThan( const Event::Ptr &e1, const Event::Ptr &e2 ); 00048 00049 } 00050 00051 namespace Todos { 00052 00053 KCALCORE_EXPORT bool startDateLessThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00054 00055 KCALCORE_EXPORT bool startDateMoreThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00056 00057 KCALCORE_EXPORT bool dueDateLessThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00058 00059 KCALCORE_EXPORT bool dueDateMoreThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00060 00061 KCALCORE_EXPORT bool priorityLessThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00062 00063 KCALCORE_EXPORT bool priorityMoreThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00064 00065 KCALCORE_EXPORT bool percentLessThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00066 00067 KCALCORE_EXPORT bool percentMoreThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00068 00069 KCALCORE_EXPORT bool summaryLessThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00070 00071 KCALCORE_EXPORT bool summaryMoreThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00072 00073 KCALCORE_EXPORT bool createdLessThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00074 00075 KCALCORE_EXPORT bool createdMoreThan( const Todo::Ptr &t1, const Todo::Ptr &t2 ); 00076 00077 } 00078 00079 namespace Journals { 00080 00081 KCALCORE_EXPORT bool dateLessThan( const Journal::Ptr &j1, const Journal::Ptr &j2 ); 00082 00083 KCALCORE_EXPORT bool dateMoreThan( const Journal::Ptr &j1, const Journal::Ptr &j2 ); 00084 00085 KCALCORE_EXPORT bool summaryLessThan( const Journal::Ptr &j1, const Journal::Ptr &j2 ); 00086 00087 KCALCORE_EXPORT bool summaryMoreThan( const Journal::Ptr &j1, const Journal::Ptr &j2 ); 00088 00089 } 00090 00091 namespace Incidences { 00092 00093 KCALCORE_EXPORT bool dateLessThan( const Incidence::Ptr &i1, 00094 const Incidence::Ptr &i2 ); 00095 00096 KCALCORE_EXPORT bool dateMoreThan( const Incidence::Ptr &i1, 00097 const Incidence::Ptr &i2 ); 00098 00099 KCALCORE_EXPORT bool createdLessThan( const Incidence::Ptr &i1, 00100 const Incidence::Ptr &i2 ); 00101 00102 KCALCORE_EXPORT bool createdMoreThan( const Incidence::Ptr &i1, 00103 const Incidence::Ptr &i2 ); 00104 00105 KCALCORE_EXPORT bool summaryLessThan( const Incidence::Ptr &i1, 00106 const Incidence::Ptr &i2 ); 00107 00108 KCALCORE_EXPORT bool summaryMoreThan( const Incidence::Ptr &i1, 00109 const Incidence::Ptr &i2 ); 00110 00111 } 00112 00113 namespace Persons { 00114 KCALCORE_EXPORT bool countMoreThan( const Person::Ptr &p1, const Person::Ptr &p2 ); 00115 } 00116 00117 } 00118 00119 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:54:01 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:54:01 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.