From c2c6f743a58c90d9d0f5e46eadee296e9b7b492c Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Mon, 2 Apr 2007 17:31:38 +0000 Subject: Add some conveniences. svn path=/trunk/KDE/kdebase/apps/; revision=649451 --- src/kfileplacesmodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/kfileplacesmodel.h') diff --git a/src/kfileplacesmodel.h b/src/kfileplacesmodel.h index 7c77db679..fb3803ba6 100644 --- a/src/kfileplacesmodel.h +++ b/src/kfileplacesmodel.h @@ -23,6 +23,7 @@ #include #include +#include /** * This class is a list view model. Each entry represents a "place" @@ -44,6 +45,8 @@ public: KUrl url(const QModelIndex &index) const; bool mountNeeded(const QModelIndex &index) const; + KIcon icon(const QModelIndex &index) const; + QString text(const QModelIndex &index) const; /** * @brief Get a visible data based on Qt role for the given index. -- cgit v1.3.1