diff options
Diffstat (limited to 'src/urlbar/completionwidget.h')
-rw-r--r-- | src/urlbar/completionwidget.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/urlbar/completionwidget.h b/src/urlbar/completionwidget.h index afd9b7e1..bb840c40 100644 --- a/src/urlbar/completionwidget.h +++ b/src/urlbar/completionwidget.h @@ -10,9 +10,9 @@ * published by the Free Software Foundation; either version 2 of * the License or (at your option) version 3 or any later version * accepted by the membership of KDE e.V. (or its successor approved -* by the membership of KDE e.V.), which shall act as a proxy +* by the membership of KDE e.V.), which shall act as a proxy * defined in Section 14 of version 3 of the license. -* +* * This program 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 @@ -49,10 +49,16 @@ public: virtual bool eventFilter(QObject *obj, QEvent *ev); void setVisible(bool visible); - - KService::Ptr searchEngine() { return _searchEngine; }; - void setCurrentEngine(KService::Ptr engine) { _searchEngine = engine; }; - + + KService::Ptr searchEngine() + { + return _searchEngine; + }; + void setCurrentEngine(KService::Ptr engine) + { + _searchEngine = engine; + }; + private slots: void itemChosen(ListItem *item, Qt::MouseButton = Qt::LeftButton); void suggestUrls(const QString &text); @@ -60,7 +66,7 @@ private slots: signals: void chosenUrl(const KUrl &, Rekonq::OpenType); void nextItemSubChoice(); - + private: void insertSearchList(const UrlSearchList &list, const QString& text); void popup(); |