2 * navigatorappitem.h - part of the KDE Help Center
4 * Copyright (C) 2001 Waldo Bastian <bastian@kde.org>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License version 2 or at your option version 3 as published
9 * by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef __navigatorappitem_h___
22 #define __navigatorappitem_h___
24 #include "navigatoritem.h"
30 class NavigatorAppItem
: public NavigatorItem
33 NavigatorAppItem( DocEntry
*entry
, Q3ListView
*parent
,
34 const QString
&relPath
);
35 NavigatorAppItem( DocEntry
*entry
, Q3ListViewItem
*parent
,
36 const QString
&relPath
);
38 NavigatorAppItem( DocEntry
*entry
, Q3ListView
*parent
,
39 Q3ListViewItem
*after
);
40 NavigatorAppItem( DocEntry
*entry
, Q3ListViewItem
*parent
,
41 Q3ListViewItem
*after
);
43 void setRelpath( const QString
& );
45 virtual void setOpen(bool);
46 void populate( bool recursive
= false );
49 QString
documentationURL( const KService
*s
);