add more spacing
[personal-kdebase.git] / runtime / platforms / win / kwinstartmenu / winstartmenu.h
blob5a8cc37a6fe93073712bb010875fb2a53738aa5e
1 /* This file is part of the KDE Project
3 Copyright (C) 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.
21 #ifndef _WINSTARTMENU_H_
22 #define _WINSTARTMENU_H_
24 #include <kdedmodule.h>
25 #include <kservicegroup.h>
26 #include <kurl.h>
28 /**
29 * KDED Module to create windows start menu entries for KDE applications
30 * WinStartMenuModule implements a KDED Module that handles the creating of
31 * windows start menu entries for KDE application.
33 * On ksycoca database changes the modules will be triggered to create/update
34 * windows start menu entries
36 * @short KDED Module for KDE Windows Start Menu creating
37 * @author Ralf Habacker <ralf.habacker@freenet.de>
39 class WinStartMenuModule : public KDEDModule
41 Q_OBJECT
42 public:
43 WinStartMenuModule(QObject* parent, const QList<QVariant>&);
44 virtual ~WinStartMenuModule();
46 public Q_SLOTS: // dbus methods, called by the adaptor
47 /**
49 void createStartMenuEntries();
50 /**
52 void removeStartMenuEntries();
54 signals: // DBUS signals
56 private:
58 private Q_SLOTS:
59 void databaseChanged();
61 private:
62 KServiceGroup::Ptr findGroup(const QString &relPath);
63 // bool createEntries(const KUrl &url, const QString &relPathTranslated=QString());
64 struct WinStartMenuModulePrivate *d;
67 #endif
69 // vim: ts=4 sw=4 et