*/
void requestActivation();
+ /** Applies an item effect to all cut items of the clipboard. */
+ void updateCutItems();
+
signals:
/** Is emitted if URL of the view has been changed to \a url. */
void urlChanged(const KUrl& url);
*/
void updateItemCount();
+ /**
+ * Generates a preview image for each file item in \a items.
+ * The current preview settings (maximum size, 'Show Preview' menu)
+ * are respected.
+ */
+ void generatePreviews(const KFileItemList& items);
+
+ /**
+ * Replaces the icon of the item \a item by the preview pixmap
+ * \a pixmap.
+ */
+ void showPreview(const KFileItem* item, const QPixmap& pixmap);
+
/**
* Restores the x- and y-position of the contents if the
* current view is part of the history.
*/
QAbstractItemView* itemView() const;
+ /**
+ * Returns true if the index is valid and represents
+ * the column KDirModel::Name.
+ */
+ bool isValidNameIndex(const QModelIndex& index) const;
+
+ /**
+ * Returns true, if the item \a item has been cut into
+ * the clipboard.
+ */
+ bool isCutItem(const KFileItem& item) const;
+
private:
bool m_showProgress;
Mode m_mode;