summaryrefslogtreecommitdiff
path: root/src/webpluginfactory.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-18 16:42:20 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-18 16:42:20 +0200
commitf45214653b3b773d57f94064e43386410a30f465 (patch)
tree502ff2513b4a6ff25e0fe18be6df58ece841ba7b /src/webpluginfactory.cpp
parentFirst changes.. (diff)
downloadrekonq-f45214653b3b773d57f94064e43386410a30f465.tar.xz
LAST BRANCH (promised!!)
first commit here. We have the homepage classes
Diffstat (limited to 'src/webpluginfactory.cpp')
-rw-r--r--src/webpluginfactory.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp
index 3754c03d..9ff0011d 100644
--- a/src/webpluginfactory.cpp
+++ b/src/webpluginfactory.cpp
@@ -28,15 +28,11 @@
#include "webpluginfactory.h"
#include "webpluginfactory.moc"
-#include "webview.h"
-#include "webpage.h"
-
-#include "websnap.h"
-
-#include <QWebFrame>
-
#include "application.h"
#include "mainwindow.h"
+#include "previewimage.h"
+
+#include <KDebug>
WebPluginFactory::WebPluginFactory(QObject *parent)
: QWebPluginFactory(parent)
@@ -66,7 +62,7 @@ QObject *WebPluginFactory::create(const QString &mimeType,
url = argumentValues.at(i);
++i;
}
- return new WebSnap(url,fileName);
+ return new PreviewImage(url,fileName);
}
kDebug() << "No plugins found for" << mimeType;