diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-13 18:43:44 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-13 18:43:44 +0000 |
| commit | efbc45fe46c0e16ee2587e4f5cf8467e7e6ba14d (patch) | |
| tree | 125cbe83bc95bd471f2264baa1a6f4e6822535e7 /src/qmmpui/detailsdialog.h | |
| parent | 196ec0a9a9be48c99f4c9ed1d91b1793288ebb20 (diff) | |
| download | qmmp-efbc45fe46c0e16ee2587e4f5cf8467e7e6ba14d.tar.gz qmmp-efbc45fe46c0e16ee2587e4f5cf8467e7e6ba14d.tar.bz2 qmmp-efbc45fe46c0e16ee2587e4f5cf8467e7e6ba14d.zip | |
updated api documentation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1624 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/detailsdialog.h')
| -rw-r--r-- | src/qmmpui/detailsdialog.h | 28 |
1 files changed, 18 insertions, 10 deletions
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 <QMap> #include <qmmp/qmmp.h> -#include "ui_detailsdialog.h" - -/** - @author Ilya Kotov <forkotov02@hotmail.ru> -*/ - 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 <forkotov02@hotmail.ru> + */ 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 |
