From d2b1a62a0ecdd286b9d83275170a3322ffafd32c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 12 Apr 2010 02:00:13 +0200 Subject: 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 :) --- src/urlbar/completionwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/urlbar/completionwidget.h') diff --git a/src/urlbar/completionwidget.h b/src/urlbar/completionwidget.h index a714bb17..ab78e489 100644 --- a/src/urlbar/completionwidget.h +++ b/src/urlbar/completionwidget.h @@ -58,7 +58,7 @@ private slots: void itemChosen(ListItem *item, Qt::MouseButton = Qt::LeftButton); signals: - void chosenUrl(const QString&, Rekonq::OpenType); + void chosenUrl(const KUrl &, Rekonq::OpenType); private: void sizeAndPosition(); -- cgit v1.2.1