Skip to content

Commit

Permalink
[nemo-qml-plugin-calendar] Remove non-functional startDateIndex property
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Feb 3, 2014
1 parent 42c0488 commit 9bf6b75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions src/calendaragendamodel.cpp
Expand Up @@ -213,11 +213,6 @@ int NemoCalendarAgendaModel::count() const
return mEvents.size();
}

int NemoCalendarAgendaModel::startDateIndex() const
{
return 0;
}

int NemoCalendarAgendaModel::rowCount(const QModelIndex &index) const
{
if (index != QModelIndex())
Expand Down
4 changes: 0 additions & 4 deletions src/calendaragendamodel.h
Expand Up @@ -48,7 +48,6 @@ class NemoCalendarAgendaModel : public QAbstractListModel, public QQmlParserStat
Q_PROPERTY(int count READ count NOTIFY countChanged)
Q_PROPERTY(QDate startDate READ startDate WRITE setStartDate NOTIFY startDateChanged)
Q_PROPERTY(QDate endDate READ endDate WRITE setEndDate NOTIFY endDateChanged)
Q_PROPERTY(int startDateIndex READ startDateIndex NOTIFY startDateIndexChanged)

public:
enum {
Expand All @@ -68,8 +67,6 @@ class NemoCalendarAgendaModel : public QAbstractListModel, public QQmlParserStat

int count() const;

int startDateIndex() const;

int rowCount(const QModelIndex &index) const;
QVariant data(const QModelIndex &index, int role) const;

Expand All @@ -78,7 +75,6 @@ class NemoCalendarAgendaModel : public QAbstractListModel, public QQmlParserStat
signals:
void countChanged();
void startDateChanged();
void startDateIndexChanged();
void endDateChanged();

protected:
Expand Down

0 comments on commit 9bf6b75

Please sign in to comment.