From 4af3a2dcb43d053865af282c2492cc60c4b438d2 Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Tue, 20 Mar 2007 09:01:22 +0000 Subject: Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow file rating, commenting, and tagging. This commit is indended to show what can be done with KMetaData in an easy way. The GUI is not perfect yet. svn path=/trunk/KDE/kdebase/apps/; revision=644510 --- src/infosidebarpage.h | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'src/infosidebarpage.h') diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index ffc73bec4..6664f56fc 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -48,7 +48,7 @@ class QLabel; class KVBox; class Q3Grid; class PixmapViewer; -class MetadataLoader; +class MetaDataWidget; /** * @brief Prototype for a information sidebar. @@ -114,12 +114,6 @@ private slots: */ void startService(int index); - /** - * Opens a dialog to change the annotation of the currently selected - * file(s). - */ - void changeAnnotation(); - private: /** * Connects to signals from the currently active Dolphin view to get @@ -157,16 +151,6 @@ private: */ void insertActions(); - /** - * Show the annotation of a file in the sidebar. - */ - void showAnnotation(const KUrl& file); - - /** - * Show the annotations of multiple files in the sidebar. - */ - void showAnnotations(const KUrl::List& files); - bool m_multipleSelection; bool m_pendingPreview; QTimer* m_timer; @@ -183,9 +167,7 @@ private: Q3PtrList m_actionWidgets; // TODO: use children() from QObject instead Q3ValueVector m_actionsVector; - QLabel* m_annotationLabel; - QPushButton* m_annotationButton;//Move to sthing sexy visually - MetadataLoader* m_metadata; + MetaDataWidget* m_metadataWidget; }; // TODO #1: move to SidebarPage? -- cgit v1.3