From 448dec4fae6e5df0d24fc2e15e67e80c32193f49 Mon Sep 17 00:00:00 2001 From: Bartosz Szatkowski Date: Fri, 20 Aug 2010 14:04:19 +0200 Subject: [PATCH] Small cleanup --- trunk/src/base/backbone/backbone.cpp | 4 +--- trunk/src/base/gui/AboutWidget.cpp | 27 +++++++++++++++++++++++++++ trunk/src/base/gui/AboutWidget.h | 27 +++++++++++++++++++++++++++ trunk/src/plugins/xdxf/src/xdxfplugin.cpp | 6 ------ 4 files changed, 55 insertions(+), 9 deletions(-) diff --git a/trunk/src/base/backbone/backbone.cpp b/trunk/src/base/backbone/backbone.cpp index 05e17f0..c288a7d 100644 --- a/trunk/src/base/backbone/backbone.cpp +++ b/trunk/src/base/backbone/backbone.cpp @@ -18,7 +18,7 @@ Copyright 2010 Comarch S.A. *******************************************************************************/ -/*! /file backbone.cpp +/*! \file backbone.cpp \brief Backbone/core main file \see Backbone @@ -180,7 +180,6 @@ void Backbone::stopSearching() { void Backbone::search(QString word){ - qDebug() << "SEEEEEEEEEARCH"; _result.clear(); mappedSearch = word.toLower(); @@ -270,7 +269,6 @@ void Backbone::translationReady() { } if(!stopped && bookmarkFin && dictFin && changed) { - qDebug() << "EMITTTTTT"; Q_EMIT ready(); } } diff --git a/trunk/src/base/gui/AboutWidget.cpp b/trunk/src/base/gui/AboutWidget.cpp index d2edb32..a4faa6e 100644 --- a/trunk/src/base/gui/AboutWidget.cpp +++ b/trunk/src/base/gui/AboutWidget.cpp @@ -1,3 +1,30 @@ +/******************************************************************************* + + 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 . + + Copyright 2010 Comarch S.A. + +*******************************************************************************/ +/*! \file AboutWidget.cpp +\brief Simple "about" widget - product, company, license info + + +\author Bartosz Szatkowski +*/ + #include "AboutWidget.h" AboutWidget::AboutWidget(GUIInterface *parent): QDialog(parent) diff --git a/trunk/src/base/gui/AboutWidget.h b/trunk/src/base/gui/AboutWidget.h index 567b663..a1cdda2 100644 --- a/trunk/src/base/gui/AboutWidget.h +++ b/trunk/src/base/gui/AboutWidget.h @@ -1,3 +1,30 @@ +/******************************************************************************* + + 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 . + + Copyright 2010 Comarch S.A. + +*******************************************************************************/ +/*! \file AboutWidget.h +\brief Simple "about" widget - product, company, license info + + +\author Bartosz Szatkowski +*/ + #ifndef ABOUTWIDGET_H #define ABOUTWIDGET_H diff --git a/trunk/src/plugins/xdxf/src/xdxfplugin.cpp b/trunk/src/plugins/xdxf/src/xdxfplugin.cpp index c20185d..6a812ee 100644 --- a/trunk/src/plugins/xdxf/src/xdxfplugin.cpp +++ b/trunk/src/plugins/xdxf/src/xdxfplugin.cpp @@ -75,7 +75,6 @@ QString XdxfPlugin::infoNote() const { } QList XdxfPlugin::searchWordList(QString word, int limit) { - //if(_settings->value("cached") == "true") if(word.indexOf("*")==-1 && word.indexOf("?")==-1 && word.indexOf("_")==-1 && word.indexOf("%")==-1) word+="*"; @@ -99,7 +98,6 @@ QList XdxfPlugin::searchWordListCache(QString word, int limit) { word = word.replace("*", "%"); word = word.replace("?", "_"); word = removeAccents(word); - //qDebug() << word; QSqlQuery cur(db); if(limit !=0) @@ -364,10 +362,6 @@ void XdxfPlugin::getDictionaryInfo() { QString format = "png"; QString initialPath = QDir::currentPath() + tr("/xdxf.") + format; -// qDebug()<"+"\n" + _name + " [" + _langFrom + "-" + _langTo + "] "+ "(" + _type + ")" + ""; -- 1.7.9.5