projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean and order documentation in source files. Source ready to beta 2 release
[mdictionary]
/
src
/
mdictionary
/
gui
/
TranslationWidget.h
diff --git
a/src/mdictionary/gui/TranslationWidget.h
b/src/mdictionary/gui/TranslationWidget.h
index
5907f97
..
cb4f13b
100644
(file)
--- a/
src/mdictionary/gui/TranslationWidget.h
+++ b/
src/mdictionary/gui/TranslationWidget.h
@@
-18,8
+18,11
@@
Copyright 2010 Comarch S.A.
*******************************************************************************/
Copyright 2010 Comarch S.A.
*******************************************************************************/
-//! \file TranslationWidget.h
-//! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+/*! \file TranslationWidget.h
+ \brief Displays translation of a word found in dictionaries
+
+ \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+*/
#ifndef TRANSLATIONWIDGET_H
#define TRANSLATIONWIDGET_H
#ifndef TRANSLATIONWIDGET_H
#define TRANSLATIONWIDGET_H
@@
-34,7
+37,6
@@
#include <QPropertyAnimation>
#include "../../include/GUIInterface.h"
#include <QPropertyAnimation>
#include "../../include/GUIInterface.h"
-//! Displays translation of a word found in dictionaries
/*!
Displays many translations of word, formatted as xml.
*/
/*!
Displays many translations of word, formatted as xml.
*/
@@
-45,6
+47,7
@@
public:
Q_SIGNALS:
void search(QString);
Q_SIGNALS:
void search(QString);
+ void notify(Notify::NotifyType, QString);
public Q_SLOTS:
//! Show widget.
public Q_SLOTS:
//! Show widget.
@@
-64,12
+67,15
@@
protected:
private Q_SLOTS:
void searchSelected();
private Q_SLOTS:
void searchSelected();
+ void copySelected();
#ifdef Q_WS_MAEMO_5
void showButtons();
#endif
private:
QString XslConversion(QString translation);
#ifdef Q_WS_MAEMO_5
void showButtons();
#endif
private:
QString XslConversion(QString translation);
+ QString checkTranslation(QString trans);
+ QString createTranslation(QStringList translations);
QToolButton* zoomInToolButton;
QToolButton* zoomOutToolButton;
TranslationView *webkit;
QToolButton* zoomInToolButton;
QToolButton* zoomOutToolButton;
TranslationView *webkit;