diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-01-23 23:23:51 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-01-23 23:23:51 +0100 |
commit | ade414e7ec17d267ba2382fadd6be2ed9ea89a45 (patch) | |
tree | 465388204a3fdf507df263f3c58e8d67e58be637 /src/previewimage.h | |
parent | Be sure you need to resolv url... (diff) | |
download | rekonq-ade414e7ec17d267ba2382fadd6be2ed9ea89a45.tar.xz |
Here we are, with this commit I removed a lot of direct calls to
Application::loadUrl slot and changed it to signals emitted there.
This to let rekonq managing them and faster return to the main event
loop (and hopefully don't freeze).
Next step here is change loadUrl slot to a multithreaded one.
Diffstat (limited to 'src/previewimage.h')
-rw-r--r-- | src/previewimage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/previewimage.h b/src/previewimage.h index e9504210..4dd8df3b 100644 --- a/src/previewimage.h +++ b/src/previewimage.h @@ -29,6 +29,7 @@ // Local Includes #include "websnap.h" +#include "application.h" // KDE Includes #include <KActionMenu> @@ -58,6 +59,9 @@ public slots: void setUrlFromAction(); void refreshPreview(); +signals: + void loadUrl(const KUrl &, const Rekonq::OpenType &); + protected: void contextMenuEvent(QContextMenuEvent *event); void mouseDoubleClickEvent(QMouseEvent *event); |