Commit bbfab7a0 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

bookmarksrunner: Rename KDEBrowser to Konqueror

This matches the naming conventions of the other browsers
and makes the meaning more clear
parent 97ec753e
......@@ -35,7 +35,7 @@ set(krunner_bookmarksrunner_SRCS
browsers/chromefindprofile.cpp
browsers/chrome.cpp
browsers/firefox.cpp
browsers/kdebrowser.cpp
browsers/konqueror.cpp
browsers/opera.cpp
browsers/falkon.cpp
)
......
......@@ -24,7 +24,7 @@
#include "browsers/chromefindprofile.h"
#include "browsers/falkon.h"
#include "browsers/firefox.h"
#include "browsers/kdebrowser.h"
#include "browsers/konqueror.h"
#include "browsers/opera.h"
Browser *BrowserFactory::find(const QString &browserName, QObject *parent)
......@@ -45,7 +45,7 @@ Browser *BrowserFactory::find(const QString &browserName, QObject *parent)
} else if (browserName.contains(QLatin1String("falkon"), Qt::CaseInsensitive)) {
m_previousBrowser = new Falkon(parent);
} else {
m_previousBrowser = new KDEBrowser(parent);
m_previousBrowser = new Konqueror(parent);
}
return m_previousBrowser;
......
......@@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "kdebrowser.h"
#include "konqueror.h"
#include "bookmarkmatch.h"
#include <QIcon>
......@@ -42,14 +42,14 @@ KDEFavicon::KDEFavicon(QObject *parent)
{
}
KDEBrowser::KDEBrowser(QObject *parent)
Konqueror::Konqueror(QObject *parent)
: QObject(parent)
, m_bookmarkManager(KBookmarkManager::userBookmarksManager())
, m_favicon(new KDEFavicon(this))
{
}
QList<BookmarkMatch> KDEBrowser::match(const QString &term, bool addEverything)
QList<BookmarkMatch> Konqueror::match(const QString &term, bool addEverything)
{
KBookmarkGroup bookmarkGroup = m_bookmarkManager->root();
......
......@@ -34,11 +34,11 @@ public:
QIcon iconFor(const QString &url) override;
};
class KDEBrowser : public QObject, public Browser
class Konqueror : public QObject, public Browser
{
Q_OBJECT
public:
explicit KDEBrowser(QObject *parent = nullptr);
explicit Konqueror(QObject *parent = nullptr);
QList<BookmarkMatch> match(const QString &term, bool addEverything) override;
public Q_SLOTS:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment