From efbc45fe46c0e16ee2587e4f5cf8467e7e6ba14d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 13 Mar 2010 18:43:44 +0000 Subject: updated api documentation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1624 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/detailsdialog.h | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'src/qmmpui/detailsdialog.h') diff --git a/src/qmmpui/detailsdialog.h b/src/qmmpui/detailsdialog.h index 26f70533f..66e8cb69a 100644 --- a/src/qmmpui/detailsdialog.h +++ b/src/qmmpui/detailsdialog.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009 by Ilya Kotov * + * Copyright (C) 2009-2010 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -25,35 +25,43 @@ #include #include -#include "ui_detailsdialog.h" - -/** - @author Ilya Kotov -*/ - class QTextCodec; +class QAbstractButton; class AbstractPlaylistItem; class MetaDataModel; +namespace Ui { + class DetailsDialog; +} + +/** @brief The DetailsDialog class provides dialog to show/edit metadata. + * @author Ilya Kotov + */ class DetailsDialog : public QDialog { Q_OBJECT public: + /*! + * Constructor. + * @param item Playlist item which should be used. + * @param parent Parent widget. + */ DetailsDialog(AbstractPlaylistItem *item, QWidget *parent = 0); - + /*! + * Destructor. + */ ~DetailsDialog(); private slots: void on_buttonBox_clicked(QAbstractButton *button); private: - Ui::DetailsDialog ui; + Ui::DetailsDialog *m_ui; void printInfo(); QString m_path; QString formatRow(const QString key, const QString value); MetaDataModel *m_metaDataModel; AbstractPlaylistItem *m_item; - }; #endif -- cgit v1.2.3-13-gbd6f