]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kitemmodelbase.cpp
port Dolphin from KUrl to QUrl
[dolphin.git] / src / kitemviews / kitemmodelbase.cpp
index e2b86d8a03c71575e9828cf4e53ced9c8444c7d8..bf41b1c84bc47a45c5cf08c010734bff2d663131 100644 (file)
 
 #include "kitemmodelbase.h"
 
-KItemRange::KItemRange(int index, int count) :
-    index(index),
-    count(count)
-{
-}
-
-bool KItemRange::operator == (const KItemRange& other) const
-{
-    return index == other.index && count == other.count;
-}
-
 KItemModelBase::KItemModelBase(QObject* parent) :
     QObject(parent),
     m_groupedSorting(false),
@@ -128,7 +117,13 @@ bool KItemModelBase::isExpandable(int index) const
     return false;
 }
 
-QMimeData* KItemModelBase::createMimeData(const QSet<int>& indexes) const
+int KItemModelBase::expandedParentsCount(int index) const
+{
+    Q_UNUSED(index);
+    return 0;
+}
+
+QMimeData* KItemModelBase::createMimeData(const KItemSet& indexes) const
 {
     Q_UNUSED(indexes);
     return 0;
@@ -164,4 +159,3 @@ void KItemModelBase::onSortOrderChanged(Qt::SortOrder current, Qt::SortOrder pre
     Q_UNUSED(previous);
 }
 
-#include "kitemmodelbase.moc"