┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/infosidebarpage.h
diff options
context:
space:
mode:
authorSebastian Trueg <[email protected]>2007-03-20 09:01:22 +0000
committerSebastian Trueg <[email protected]>2007-03-20 09:01:22 +0000
commit4af3a2dcb43d053865af282c2492cc60c4b438d2 (patch)
tree59afb2b48c642eba14d8f0a72582bd17e344bf0f /src/infosidebarpage.h
parent397b9bd4502a5aeab7da54dfcce0e4faa4a59ee4 (diff)
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
Diffstat (limited to 'src/infosidebarpage.h')
-rw-r--r--src/infosidebarpage.h22
1 files changed, 2 insertions, 20 deletions
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<QWidget> m_actionWidgets; // TODO: use children() from QObject instead
Q3ValueVector<KDEDesktopMimeType::Service> m_actionsVector;
- QLabel* m_annotationLabel;
- QPushButton* m_annotationButton;//Move to sthing sexy visually
- MetadataLoader* m_metadata;
+ MetaDataWidget* m_metadataWidget;
};
// TODO #1: move to SidebarPage?