00001 /* 00002 KAppfinder, the KDE application finder 00003 00004 Copyright (c) 2002-2003 Tobias Koenig <tokoe@kde.org> 00005 00006 Based on code written by Matthias Hoelzer-Kluepfel <hoelzer@kde.org> 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of version 2 of the GNU General Public 00010 License as published by the Free Software Foundation. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef COMMON_H 00023 #define COMMON_H 00024 00025 #include <tqlistview.h> 00026 #include <tqptrlist.h> 00027 #include <tqstring.h> 00028 00029 class AppLnkCache 00030 { 00031 public: 00032 TQString destDir; 00033 TQString destName; 00034 TQString templ; 00035 TQCheckListItem *item; 00036 }; 00037 00038 bool scanDesktopFile( TQPtrList<AppLnkCache> &appCache, const TQString &templ, 00039 TQString destDir = TQString::null ); 00040 void createDesktopFiles( TQPtrList<AppLnkCache> &appCache, int &added ); 00041 void decorateDirs( TQString destDir = TQString::null ); 00042 00043 #endif
1.6.1