//! returns destination language code iso 639-2
QString langTo() const;
- //! returns dictionary name (like "old english" or so)
+ //! returns dictionary name (like "old English" or so)
QString name() const;
//! returns dictionary type (xdxf, google translate, etc)
void setLangFrom(QString langFrom);
/*! returns DictDialog object that creates dialogs
- for adding new dictionary and change plugin tings
+ for adding new dictionaries and changing plugin things
*/
DictDialog* dictDialog();
//! returns a unique hash for a dictionary
uint hash() const;
- //! set unique value (unique for every dictionary not plugin)
+ //! sets unique value (unique for every dictionary not plugin)
void setHash(uint);
//! returns current plugin settings
*******************************************************************************/
/*! \file GoogleSettingsDialog.h
- \brief Class create dialog to get or change settings for Google Plagin
+ \brief Class creates dialog to get or change settings for Google Plugin
\author Jakub Jaszczynski <j.j.jaszczynski@gmail.com>
*/
QString acceptButtonLabel = tr("Add"));
/*!
- \param parent parent widget on which will be displayed dialog
- \param langTo language witch is display in the comboBox as a startup item
- \param langFrom language witch is display in the comboBox as a startup item
+ \param parent parent widget on which dialog will be displayed
+ \param langTo language which is displayed in the comboBox as a startup item
+ \param langFrom language which is displayed in the comboBox as a startup item
\returns function return settings to GooglePlugin
*/
static Settings* getSettings(QWidget *parent,
QString acceptButtonLabel = tr("Add"));
/*!
- function set a new settings in plugin;
+ function sets a new settings in plugin;
\param plugin plugin whose settings you will change
- \param parent parent widget on which will be displayed dialog
+ \param parent parent widget on which dialog will be displayed
*/
static void changeSettings(GooglePlugin* plugin, QWidget *parent);
//! sets information about dictionary
void setDictionaryInfo(QString);
- //! \retrun whether given translation is taken from bookmarks
+ //! \return whether given translation is taken from bookmarks
bool isBookmark() const {
return _bookmark;
}