add more spacing
[personal-kdebase.git] / runtime / platforms / win / kwinstartmenu / misc.h
bloba5861bd0ee8245546f175a0f86d0c6cbb9290fd2
1 /* This file is part of the KDE Project
3 Copyright (C) 2006-2008 Ralf Habacker <ralf.habacker@freenet.de>
4 All rights reserved.
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License version 2 as published by the Free Software Foundation.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
20 #ifndef _MISC_H
21 #define _MISC_H
23 #include "linkfile.h"
25 #include <QString>
26 class QDir;
28 #include <KUrl>
30 bool removeDirectory(const QString& aDir);
31 QString getStartMenuPath(bool bAllUsers=true);
32 QString getKDEStartMenuPath();
33 bool generateMenuEntries(QList<LinkFile> &files, const KUrl &url, const QString &relPathTranslated=QString());
34 void updateStartMenuLinks();
35 void removeStartMenuLinks();
37 #endif
38 // vim: ts=4 sw=4 et