explicit set video queue to 500ms (sender)
[makneto-zunavac1.git] / src / maknetohtmlbrowser.cpp
blob37b465ec4abc93aed5bdc65a49471ec8c7e72416
1 /*
2 * maknetohtmlbrowser.cpp
4 * Copyright (C) 2008 Jaroslav Reznik <rezzabuh@gmail.com>
5 */
7 #include "maknetohtmlbrowser.h"
9 #include "khtml_part.h"
10 #include "khtmlview.h"
11 #include "kurl.h"
13 #include <QtGui/QVBoxLayout>
15 MaknetoHTMLBrowser::MaknetoHTMLBrowser(QWidget *)
17 mainLayout = new QVBoxLayout;
19 KUrl url("http://makneto.sourceforge.net/");
20 homeTabBrowser = new KHTMLPart;
21 homeTabBrowser->openUrl(url);
23 mainLayout->addWidget(homeTabBrowser->view());
25 setLayout(mainLayout);
28 MaknetoHTMLBrowser::~MaknetoHTMLBrowser()
30 homeTabBrowser->closeUrl();
31 delete homeTabBrowser;