domtreeview.h Source File (khtml Library)

| # khtml Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# domtreeview.h

    00001 /***************************************************************************
    00002                                domtreeview.cpp
    00003                              -------------------
    00004
    00005     copyright            : (C) 2001 - The Kafka Team
    00006     email                : kde-kafka@master.kde.org
    00007  ***************************************************************************/
    00008
    00009 /***************************************************************************
    00010  *                                                                         *
    00011  *   This program is free software; you can redistribute it and/or modify  *
    00012  *   it under the terms of the GNU General Public License as published by  *
    00013  *   the Free Software Foundation; either version 2 of the License, or     *
    00014  *   (at your option) any later version.                                   *
    00015  *                                                                         *
    00016  ***************************************************************************/
    00017
    00018 #ifndef DOMTREEVIEW_H
    00019 #define DOMTREEVIEW_H
    00020
    00021 #include <klistview.h>
    00022 #include <kdebug.h>
    00023 #include <qlistview.h>
    00024 #include <qptrdict.h>
    00025 #include <dom/dom_core.h>
    00026
    00027 class DOMTreeView : public KListView
    00028 {
    00029     Q_OBJECT
    00030     public:
    00031         DOMTreeView(QWidget *parent, KHTMLPart *part, const char * name = 0);
    00032         ~DOMTreeView();
    00033
    00034         void recursive(const DOM::Node &pNode, const DOM::Node &node);
    00035
    00036     signals:
    00037         void sigNodeClicked(const DOM::Node &);
    00038
    00039     public slots:
    00040         void showTree(const DOM::Node &pNode);
    00041
    00042     protected slots:
    00043         void slotItemClicked(QListViewItem *);
    00044
    00045     private:
    00046         QPtrDict<QListViewItem> m_itemdict;
    00047         QPtrDict<DOM::Node> m_nodedict;
    00048         DOM::Node document;
    00049
    00050         KHTMLPart *part;
    00051
    00052 };
    00053
    00054 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:33:49 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001