2 * Copyright (C) 2001 Hideki Ikemoto <ikemo@wakaba.jp>
9 #include <kparts/part.h>
10 #include <kitaiface.h>
16 * This is the main view class for Kita. Most of the non-menu,
17 * non-toolbar, and non-statusbar (e.g., non frame) GUI code should go
20 * This kita uses an HTML component as an example.
23 * @author Hideki Ikemoto <ikemo@wakaba.jp>
26 class KitaView : public QWidget, public KitaIface
33 KitaView(QWidget *parent);
41 * Random 'get' function
46 * Random 'set' function accessed by DCOP
48 virtual void openURL(QString url);
51 * Random 'set' function
53 virtual void openURL(const KURL& url);
56 * Print this view to any medium -- paper or not
58 void print(QPainter *, int height, int width);
62 * Use this signal to change the content of the statusbar
64 void signalChangeStatusbar(const QString& text);
67 * Use this signal to change the content of the caption
69 void signalChangeCaption(const QString& text);
72 void slotOnURL(const QString& url);
73 void slotSetTitle(const QString& title);
76 KParts::ReadOnlyPart *m_html;
79 #endif // _KITAVIEW_H_