Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / apps / kappfinder / common.h
blob0e1c3c951a6e52c62ab99e373ab8af18c6c08e0f
1 /*
2 KAppfinder, the KDE application finder
4 Copyright (c) 2002-2003 Tobias Koenig <tokoe@kde.org>
6 Based on code written by Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of version 2 of the GNU General Public
10 License as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef COMMON_H
23 #define COMMON_H
25 #include <QtGui/QTreeWidgetItem>
26 #include <QtCore/QList>
29 class AppLnkCache
31 public:
32 QString destDir;
33 QString destName;
34 QString templ;
35 QTreeWidgetItem *item;
38 bool scanDesktopFile( QList<AppLnkCache*> &appCache, const QString &templ,
39 QString destDir = QString() );
40 void createDesktopFiles( QList<AppLnkCache*> &appCache, int &added );
41 void decorateDirs( QString destDir = QString() );
43 #endif