diff options
author | David E. Narváez <david.narvaez@computer.org> | 2012-04-14 07:54:32 -0500 |
---|---|---|
committer | David E. Narváez <david.narvaez@computer.org> | 2012-04-14 07:54:32 -0500 |
commit | 9892d840c1d2219f3f86f55d9d35d4f79d56c8a1 (patch) | |
tree | db77b6cea9c11fa60ce3c7feb2b679bb39c68891 /src/webtab.h | |
parent | Fix typo. (diff) | |
download | rekonq-9892d840c1d2219f3f86f55d9d35d4f79d56c8a1.tar.xz |
Move Tab Preview to WebTab
Let the WebTab class calculate its own preview, so that it can be used
elsewhere in the code.
REVIEW: 104517
Diffstat (limited to 'src/webtab.h')
-rw-r--r-- | src/webtab.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webtab.h b/src/webtab.h index 92ae2eb5..c318da10 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -90,9 +90,10 @@ public: void setPart(KParts::ReadOnlyPart *p, const KUrl &u); - bool hasAdBlockedElements(); + QPixmap tabPreview(); + private Q_SLOTS: void updateProgress(int progress); void resetProgress(); |