detect a disconect error in GooglePlugin
[mdictionary] / trunk / src / plugins / google / src / GoogleSettingsDialog.cpp
index fa91324..2ec2a14 100644 (file)
@@ -1,3 +1,28 @@
+/*******************************************************************************
+
+    This file is part of mDictionary.
+
+    mDictionary is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    mDictionary is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with mDictionary.  If not, see <http://www.gnu.org/licenses/>.
+
+    Copyright 2010 Comarch S.A.
+
+*******************************************************************************/
+
+/*! \file GoogleSettingsDialog.cpp
+    \author Jakub Jaszczynski <j.j.jaszczynski@gmail.com>
+*/
+
 #include "GoogleSettingsDialog.h"
 #include <QDebug>
 
@@ -110,12 +135,10 @@ void GoogleSettingsDialog::changeLangButtonClicked() {
 }
 
 QString GoogleSettingsDialog::langFrom() {
-    qDebug()<<_langFrom;
     return _langFrom;
 }
 
 QString GoogleSettingsDialog::langTo() {
-    qDebug()<<_langTo;
     return _langTo;
 }
 
@@ -127,7 +150,6 @@ Settings* GoogleSettingsDialog::getSettings(QWidget *parent,QString langTo,QStri
         Settings *settings = new Settings();
         settings->setValue("langTo",languages.value(settingsDialog.langTo()));
         settings->setValue("langFrom",languages.value(settingsDialog.langFrom()));
-         qDebug()<<"gosc" << settings->value("langTo") <<settings->value("langFrom");
         return settings;
     }
     return 0;