agendainterface/agendautil/src/agendautil.cpp
changeset 23 fd30d51f876b
parent 18 c198609911f9
child 45 b6db4fd4947b
--- a/agendainterface/agendautil/src/agendautil.cpp	Fri Apr 16 14:57:40 2010 +0300
+++ b/agendainterface/agendautil/src/agendautil.cpp	Mon May 03 12:30:32 2010 +0300
@@ -390,8 +390,30 @@
 	 }
 }
 
+void AgendaUtil::markDatesWithEvents(QDateTime rangeStart, QDateTime rangeEnd,
+						 AgendaUtil::FilterFlags filter, QList<QDate>& dates)
+{
+	if(d) {
+		return d->markDatesWithEvents(rangeStart,rangeEnd,filter,dates);
+	 }
+}
+
 /*!
-    Returns the lower range limit of the time supported by the underlying platform for calendar entries
+	 Returns true if there are no entries in the database else returns false
+	 
+	 \return bool 
+ */
+bool AgendaUtil::areNoEntriesInCalendar()
+{
+	if(d) {
+		return d->areNoEntriesInCalendar();
+	 }
+	return false;
+}
+
+/*!
+    Returns the lower range limit of the time supported by the 
+    underlying platform for calendar entries
 
     \return QDateTime   Lower range time
 */
@@ -401,7 +423,8 @@
 }
 
 /*!
-    Returns the upper range limit of the time supported by the underlying platform for calendar entries
+    Returns the upper range limit of the time supported by the 
+    underlying platform for calendar entries
 
     \return QDateTime   Upper range time
 */
@@ -411,6 +434,15 @@
  }
 
 /*!
+    Returns true if entry repeats on workdays else false
+
+    \return true if entry repeats on workdays else false
+ */
+bool AgendaUtil::isWorkdaysRepeatingEntry(const AgendaRepeatRule& repeatRule)
+{
+	return AgendaUtilPrivate::isWorkdaysRepeatingEntry(repeatRule);
+}
+/*!
     \fn void XQMedia::entriesChanged(QList<ulong> ids)
 
     This signal is emitted when an entry or entries have changed.