Merge branch 'master' into google
authorJakub Jaszczynski <j.j.jaszczynski@gmail.com>
Mon, 30 Aug 2010 07:14:51 +0000 (09:14 +0200)
committerJakub Jaszczynski <j.j.jaszczynski@gmail.com>
Mon, 30 Aug 2010 07:14:51 +0000 (09:14 +0200)
Conflicts:
trunk/src/plugins/google/src/GooglePlugin.cpp
trunk/src/plugins/xdxf/src/XdxfCachingDialog.cpp
trunk/src/plugins/xdxf/src/xdxfplugin.cpp

1  2 
trunk/src/base/backbone/backbone.cpp
trunk/src/plugins/google/src/GooglePlugin.cpp
trunk/src/plugins/xdxf/src/XdxfCachingDialog.cpp
trunk/src/plugins/xdxf/src/xdxfplugin.cpp

Simple merge
  #include <QDebug>
  #include "GoogleDictDialog.h"
  
 -
  GooglePlugin::GooglePlugin(QObject *parent): CommonDictInterface(parent),
 -                    _langFrom(tr("")), _langTo(tr("")),_name(tr("")),
 -                    _type("google"), _infoNote(tr("")) {
 -
 -    stopped = false;
 -    _connectionAccept = false;
 +                    _name(tr("")),_infoNote(tr("")) {
      _settings = new Settings();
 +    _settings->setValue("lang_to","");
 +    _settings->setValue("lang_from","");
 +    _settings->setValue("type","google");
 +    _settings->setValue("connection_acepted","true");
      _dictDialog = new GoogleDictDialog(this,this);
 -
      _icon = QIcon(":/icons/drawing.png");
 +
 +    stopped = false;
      languages=initLanguages();
 -    _settings->setValue("type","google");
 -    _settings->setValue("connectionAcepted","false");
  
      http = new QHttp(this);
      connect(http, SIGNAL(done(bool)), this, SLOT(done()));
@@@ -54,9 -54,9 +54,8 @@@ XdxfCachingDialog::XdxfCachingDialog(Xd
      connect(cancelButton, SIGNAL(clicked()),
              this, SIGNAL(cancelCaching()));
  
 -   // connect(parent, SIGNAL(updateCachingProgress(int, int)),
 -    //        this, SLOT(updateCachingProgress(int, int)));
 -
 +   connect(parent, SIGNAL(updateCachingProgress(int, int)),
 +           this, SLOT(updateCachingProgress(int, int)));
      time.start();
  }
  
@@@ -29,8 -29,7 +29,7 @@@
  
  XdxfPlugin::XdxfPlugin(QObject *parent) : CommonDictInterface(parent),
                      _langFrom(tr("")), _langTo(tr("")),_name(tr("")),
 -                    _type("xdxf"), _infoNote(tr("")) {
 +                    _type(tr("xdxf")), _infoNote(tr("")) {
      _wordsCount = -1;
      _settings = new Settings();
      _dictDialog = new XdxfDictDialog(this);