|
Last change
on this file since 92 was 2, checked in by dmik, 20 years ago |
|
Imported xplatform parts of the official release 3.3.1 from Trolltech
|
-
Property svn:keywords
set to
Id
|
|
File size:
864 bytes
|
| Line | |
|---|
| 1 | /****************************************************************************
|
|---|
| 2 | ** $Id: outlinetree.h 2 2005-11-16 15:49:26Z dmik $
|
|---|
| 3 | **
|
|---|
| 4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
|
|---|
| 5 | **
|
|---|
| 6 | ** This file is part of an example program for Qt. This example
|
|---|
| 7 | ** program may be used, distributed and modified without limitation.
|
|---|
| 8 | **
|
|---|
| 9 | *****************************************************************************/
|
|---|
| 10 |
|
|---|
| 11 | #ifndef OUTLINETREE_H
|
|---|
| 12 | #define OUTLINETREE_H
|
|---|
| 13 |
|
|---|
| 14 | #include <qlistview.h>
|
|---|
| 15 | #include <qdom.h>
|
|---|
| 16 |
|
|---|
| 17 | class OutlineTree : public QListView
|
|---|
| 18 | {
|
|---|
| 19 | Q_OBJECT
|
|---|
| 20 |
|
|---|
| 21 | public:
|
|---|
| 22 | OutlineTree( const QString fileName, QWidget *parent = 0, const char *name = 0 );
|
|---|
| 23 | ~OutlineTree();
|
|---|
| 24 |
|
|---|
| 25 | private:
|
|---|
| 26 | QDomDocument domTree;
|
|---|
| 27 | void getHeaderInformation( const QDomElement &header );
|
|---|
| 28 | void buildTree( QListViewItem *parentItem, const QDomElement &parentElement );
|
|---|
| 29 | };
|
|---|
| 30 |
|
|---|
| 31 | #endif // OUTLINETREE_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.