diff options
| author | Sebastian Trueg <[email protected]> | 2010-07-22 08:26:07 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2010-07-22 08:26:07 +0000 |
| commit | ed68687614472e18904c4a3f613d01df2f5bb90e (patch) | |
| tree | 096f0111489df625cd5fd3a12f053878d140dd63 /src/panels/information/informationpanel.h | |
| parent | 20adf66415f31ac6b52b506d13db665215b3f2b4 (diff) | |
Properly KIO::stat instead of simply using the KFileItem constructor when
showing metadata for the currently selected folder. This way we can even get rid of the
special handling of nepomuksearch:/ URLs since the KIO slave provides a nice name and
all you need to show to the user.
Even nicer: When clicking an entry in the metadata view the resulting query will be related
to the one clicked resource. This resource will then be represented by the query folder.
So all in all this patch makes Dolphin more generic while additionally activating a new feature.
svn path=/trunk/KDE/kdebase/apps/; revision=1152959
Diffstat (limited to 'src/panels/information/informationpanel.h')
| -rw-r--r-- | src/panels/information/informationpanel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 0622a79a2..e0768bc1b 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -77,6 +77,12 @@ private slots: void showItemInfo(); /** + * Shows the information for the currently displayed folder as a result from + * a stat job issued in showItemInfo(). + */ + void slotFolderStatFinished(KJob* job); + + /** * Triggered if the request for item information has timed out. * @see InformationPanel::requestDelayedItemInfo() */ @@ -154,6 +160,8 @@ private: KFileItem m_fileItem; // file item for m_shownUrl if available (otherwise null) KFileItemList m_selection; + KJob* m_folderStatJob; + InformationPanelContent* m_content; }; |
