1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

Exporting SpellCheck classes + fixed some translation issues.

This commit is contained in:
nowrep 2013-02-10 10:28:13 +01:00
parent fcbf1e636b
commit 00cf5cdbd2
6 changed files with 10 additions and 23 deletions

View File

@ -43,7 +43,7 @@ and you have read the BUILDING information.
* pkg-config is optional (to correctly detect versions of QtWebKit)
* pkg-config is required for Hunspell spellcheck
* Hunspell developer package for spellcheck
* Hunspell development package for spellcheck
**Windows**
* QtWebKit 2.3 is required
@ -66,13 +66,6 @@ On Mac OS X: To deploy QupZilla in bundle, run this command:
You need to specify path to `macdeployqt` only if it is not in PATH.
If you see errors like
```
webview/webpage.cpp: error: no void WebPage::appCacheQuotaExceeded(QWebSecurityOrigin*, quint64) member function declared in class WebPage
webview/webpage.cpp: error: no void WebPage::featurePermissionRequested(QWebFrame*, const QWebPage::Feature&) member function declared in class WebPage
```
run `qmake -r DEFINES+=USE_QTWEBKIT_2_2 && make` to fix it.
Current version
----------------------------------------------------------------------------------------

View File

@ -16,13 +16,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */
#include "autofillicon.h"
#include "autofillwidget.h"
AutoFillIcon::AutoFillIcon(QWidget* parent)
: ClickableLabel(parent)
{
setObjectName("locationbar-autofillicon");
setCursor(Qt::PointingHandCursor);
setToolTip(tr("Choose username to login"));
setToolTip(AutoFillWidget::tr("Choose username to login"));
setFocusPolicy(Qt::ClickFocus);
}

View File

@ -20,12 +20,14 @@
#include <QDialog>
#include "qz_namespace.h"
namespace Ui
{
class SpellCheckDialog;
}
class SpellCheckDialog : public QDialog
class QT_QUPZILLA_EXPORT SpellCheckDialog : public QDialog
{
Q_OBJECT

View File

@ -334,7 +334,7 @@ void Speller::populateLanguagesMenu()
}
if (menu->isEmpty()) {
QAction* act = menu->addAction(tr("Empty"));
QAction* act = menu->addAction(tr("No suggestions"));
act->setEnabled(false);
}

View File

@ -22,13 +22,15 @@
#include <QStringList>
#include <QFile>
#include "qz_namespace.h"
class QTextCodec;
class Hunspell;
class QMenu;
class QWebHitTestResult;
class Speller : public QObject
class QT_QUPZILLA_EXPORT Speller : public QObject
{
Q_OBJECT

View File

@ -247,13 +247,6 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AutoFillIcon</name>
<message>
<source>Choose username to login</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AutoFillManager</name>
<message>
@ -4321,10 +4314,6 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla
<source>Add to dictionary</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>