Copyright 2010 Comarch S.A.
*******************************************************************************/
-//! \file DictTypeSelectDialog.h
-//! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+/*! \file DictTypeSelectDialog.h
+ \brief Implements plugin selection dialog
+
+ \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+*/
#ifndef DICTTYPESELECTDIALOG_H
#define DICTTYPESELECTDIALOG_H
#define PLUGIN_ROW_ROLE 99 //TODO remove this
-//! Implements plugin selection dialog
/*!
- Shows list of loaded dictionaries plugins.
+ Shows a list of loaded dictionaries plugins.
Static function addNewdict will return selected plugin.
*/
class DictTypeSelectDialog : public QDialog {
Q_OBJECT
public:
- //! Shows dialog with list of plugins
+ //! Shows dialog with a list of plugins
/*!
\param plugins list of loaded plugins
- \param parent widget
- \return selected plugin, if user cancels dialog it returns NULL
+ \param parent parent widget
+ \return selected plugin, if user cancels dialog it returns 0 (NULL)
*/
static CommonDictInterface* addNewDict(
QList<CommonDictInterface* > plugins,
QWidget *parent = 0);
- //! Returns plugin selected by user
+ //! \returns plugin selected by user
CommonDictInterface* selectedPlugin();
protected: