1
/***************************************************************************
2
* Copyright (C) 2009 by Joris Guisson *
3
* joris.guisson@gmail.com *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, write to the *
17
* Free Software Foundation, Inc., *
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19
***************************************************************************/
26
#include <khtml_part.h>
32
class HomePage : public KHTMLPart
37
HomePage(QWidget* parentWidget = 0, QObject* parent = 0, GUIProfile prof = DefaultGUI);
40
virtual bool openUrl(const KUrl & url);
41
virtual bool openFile();
45
virtual void addToHistory(const KUrl & url) = 0;
48
virtual bool urlSelected(const QString &url, int button, int state, const QString &target,
49
const KParts::OpenUrlArguments& args = KParts::OpenUrlArguments(),
50
const KParts::BrowserArguments& browserArgs = KParts::BrowserArguments());
56
QString home_page_html;
61
#endif // KT_HOMEPAGE_H