00001 /* 00002 * infotree.h - part of the KDE Help Center 00003 * 00004 * Copyright (C) 2002 Frerich Raabe (raabe@kde.org) 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 */ 00020 #ifndef KHC_INFOTREE_H 00021 #define KHC_INFOTREE_H 00022 00023 #include "treebuilder.h" 00024 00025 class TQListViewItem; 00026 00027 namespace KHC 00028 { 00029 class NavigatorItem; 00030 class InfoTree : public TreeBuilder 00031 { 00032 Q_OBJECT 00033 public: 00034 InfoTree( TQObject *parent, const char *name = 0 ); 00035 00036 virtual void build( NavigatorItem *parentItem ); 00037 00038 private: 00039 void parseInfoDirFile( const TQString &fileName ); 00040 00041 NavigatorItem *m_parentItem; 00042 NavigatorItem *m_alphabItem; 00043 NavigatorItem *m_categoryItem; 00044 }; 00045 } 00046 00047 #endif // KHC_INFOTREE_H 00048 // vim:ts=2:sw=2:et
1.6.1