From e03987cd972d6b46c72d9ac5b14a3fbb64ff1c48 Mon Sep 17 00:00:00 2001 From: Piotrek Date: Mon, 30 Aug 2010 15:49:54 +0200 Subject: [PATCH] some corrections in comments --- trunk/src/plugins/google/src/GoogleDictDialog.h | 2 +- trunk/src/plugins/google/src/GooglePlugin.h | 6 +++--- .../src/plugins/google/src/GoogleSettingsDialog.h | 12 ++++++------ trunk/src/plugins/google/src/TranslationGoogle.h | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/trunk/src/plugins/google/src/GoogleDictDialog.h b/trunk/src/plugins/google/src/GoogleDictDialog.h index d62e1f1..38964cd 100644 --- a/trunk/src/plugins/google/src/GoogleDictDialog.h +++ b/trunk/src/plugins/google/src/GoogleDictDialog.h @@ -48,7 +48,7 @@ public: /*! Shows settings dialog and save new settings in plugin - \param parent parent widget on which will be displayed dialog + \param parent parent widget on which dialog will be displayed */ void changeSettings(QWidget *parent); diff --git a/trunk/src/plugins/google/src/GooglePlugin.h b/trunk/src/plugins/google/src/GooglePlugin.h index 3e6931c..cb3567f 100644 --- a/trunk/src/plugins/google/src/GooglePlugin.h +++ b/trunk/src/plugins/google/src/GooglePlugin.h @@ -56,7 +56,7 @@ public: //! 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) @@ -70,7 +70,7 @@ public: 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(); @@ -90,7 +90,7 @@ public: //! 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 diff --git a/trunk/src/plugins/google/src/GoogleSettingsDialog.h b/trunk/src/plugins/google/src/GoogleSettingsDialog.h index 866bda2..2ed18d4 100644 --- a/trunk/src/plugins/google/src/GoogleSettingsDialog.h +++ b/trunk/src/plugins/google/src/GoogleSettingsDialog.h @@ -20,7 +20,7 @@ *******************************************************************************/ /*! \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 */ @@ -44,9 +44,9 @@ public: 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, @@ -55,9 +55,9 @@ public: 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); diff --git a/trunk/src/plugins/google/src/TranslationGoogle.h b/trunk/src/plugins/google/src/TranslationGoogle.h index 08b5530..ad42ee0 100644 --- a/trunk/src/plugins/google/src/TranslationGoogle.h +++ b/trunk/src/plugins/google/src/TranslationGoogle.h @@ -55,7 +55,7 @@ public: //! 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; } -- 1.7.9.5