/**
* This file is part of the KDE project
- * Copyright (C) 2007 Rafael Fernández López <ereslibre@gmail.com>
+ * Copyright (C) 2007 Rafael Fernández López <ereslibre@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
*/
void drawDraggedItems();
+ void layoutChanged(bool forceItemReload = false);
+
// Attributes
// Behavior data
bool mouseButtonPressed;
+ bool rightMouseButtonPressed;
bool isDragging;
bool dragLeftViewport;
QModelIndex hovered;
QString hoveredCategory;
QPoint initialPressPosition;
QPoint mousePosition;
- QItemSelection lastSelection;
- QModelIndex currentViewIndex;
int forcedSelectionPosition;
// Cache data
QStringList categories;
QModelIndexList intersectedIndexes;
QRect lastDraggedItemsRect;
- QRect lastSelectionRect;
+ int modelSortRole;
+ int modelSortColumn;
+ int modelLastRowCount;
+ bool modelCategorized;
+ Qt::SortOrder modelSortOrder;
+ QItemSelection lastSelection;
// Attributes for speed reasons
KCategorizedSortFilterProxyModel *proxyModel;