delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / khelpcenter / navigatorappitem.h
blob337656c4acff208c5d2cb10a8112315a9eb0ad50
1 /*
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"
26 class KService;
28 namespace KHC {
30 class NavigatorAppItem : public NavigatorItem
32 public:
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 );
48 protected:
49 QString documentationURL( const KService *s );
51 private:
52 QString mRelpath;
53 bool mPopulated;
58 #endif
59 // vim:ts=2:sw=2:et