diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-12 02:00:13 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-12 02:00:13 +0200 |
commit | d2b1a62a0ecdd286b9d83275170a3322ffafd32c (patch) | |
tree | 7ab453799004d0caa7fc3a3106c1c0374f3d9b6f /src/urlbar/urlbar.h | |
parent | fix strings (diff) | |
download | rekonq-d2b1a62a0ecdd286b9d83275170a3322ffafd32c.tar.xz |
URLBAR ANIMATION: implementation fix
This commit follows the logic explained somewhere else, moving rekonq
to a better management for urls from user input.
1) users type strings --> we store them in QStrings
2) app load urls --> we should ever work with KUrls, trying to guess users needs
Here I also removed the unuseful QString icon from UrlSearchItem definition, as we
just have a type (Search, Browse, History, Books..), a (k)url and an Application::icon
method :)
Diffstat (limited to 'src/urlbar/urlbar.h')
-rw-r--r-- | src/urlbar/urlbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.h b/src/urlbar/urlbar.h index 2536c27b..a473638b 100644 --- a/src/urlbar/urlbar.h +++ b/src/urlbar/urlbar.h @@ -60,7 +60,7 @@ public: void setPrivateMode(bool on); private slots: - void activated(const QString& url, Rekonq::OpenType = Rekonq::CurrentTab); + void activated(const KUrl& url, Rekonq::OpenType = Rekonq::CurrentTab); void suggestUrls(const QString &editedText); void setQUrl(const QUrl &url); |