diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-03-12 05:51:58 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-25 09:27:25 +0200 |
commit | aa154a00c29dc5ab9cf07f933cae5cee32614bed (patch) | |
tree | d8a185e7c2688ad0377c7da107c229fa4dc60042 /src/opensearch/searchengine.h | |
parent | Safe one bool check :D (diff) | |
download | rekonq-aa154a00c29dc5ab9cf07f933cae5cee32614bed.tar.xz |
Check if user has a default search engine set and eventually
show a messagewidget to inform and let him set it.
REVIEW:104290
Diffstat (limited to 'src/opensearch/searchengine.h')
-rw-r--r-- | src/opensearch/searchengine.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/opensearch/searchengine.h b/src/opensearch/searchengine.h index 7825d661..7cd37a67 100644 --- a/src/opensearch/searchengine.h +++ b/src/opensearch/searchengine.h @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2008-2011 by Andrea Diamantini <adjam7 at gmail dot com> +* Copyright (C) 2008-2012 by Andrea Diamantini <adjam7 at gmail dot com> * Copyright (C) 2009-2011 by Lionel Chauvin <megabigbug@yahoo.fr> * * @@ -24,6 +24,7 @@ * * ============================================================ */ + #ifndef SEARCHENGINE_H #define SEARCHENGINE_H @@ -40,13 +41,19 @@ namespace SearchEngine { -void reload(); -QString delimiter(); -KService::Ptr defaultEngine(); -KService::List favorites(); -KService::Ptr fromString(const QString &text); -QString buildQuery(KService::Ptr engine, const QString &text); -QString extractQuery(const QString &text); + void reload(); + + QString delimiter(); + + KService::Ptr defaultEngine(); + + KService::List favorites(); + + KService::Ptr fromString(const QString &text); + + QString buildQuery(KService::Ptr engine, const QString &text); + + QString extractQuery(const QString &text); } #endif |