summaryrefslogtreecommitdiff
path: root/src/urlbar/urlsuggester.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-09-19 23:22:13 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commite315ff15daf26cbc70b6f2da50e6ca18081fc7c4 (patch)
tree6da0556f2c5c7efb13d8e8b03ba0092e7a5838d3 /src/urlbar/urlsuggester.h
parentImplement RekonqWindow (diff)
downloadrekonq-e315ff15daf26cbc70b6f2da50e6ca18081fc7c4.tar.xz
Integrated spell checking for rekonq2 (lindsay's work imported)
- inline spell highlighter. This requires WebKit 2.3 to work. - Addition of a suggested replacement word list to the context menu, for the word right clicked on - A standard modeless spell check dialog that works on the current editable text (or selection). Heavily cribbed from Dawit's work on kdewebkitpart. oops... also a codingstyle script round here... :)
Diffstat (limited to 'src/urlbar/urlsuggester.h')
-rw-r--r--src/urlbar/urlsuggester.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/urlbar/urlsuggester.h b/src/urlbar/urlsuggester.h
index d7673c3a..edbe116a 100644
--- a/src/urlbar/urlsuggester.h
+++ b/src/urlbar/urlsuggester.h
@@ -84,13 +84,13 @@ public:
{};
UrlSuggestionItem(const int &_type,
- const QString &_url,
- const QString &_title = QString(),
- const QString &_description = QString(),
- const QString &_image = QString(),
- const int &_image_width = 0,
- const int &_image_height = 0
- )
+ const QString &_url,
+ const QString &_title = QString(),
+ const QString &_description = QString(),
+ const QString &_image = QString(),
+ const int &_image_width = 0,
+ const int &_image_height = 0
+ )
: type(_type)
, url(_url)
, title(_title)
@@ -147,7 +147,7 @@ private:
UrlSuggestionList _suggestions;
bool _webSearchFirst;
-
+
static QRegExp _browseRegexp;
static QRegExp _searchEnginesRegexp;
};