2 * Copyright 2007 by Aaron Seigo <aseigo@kde.org>
3 * Copyright 2008 by Chani Armitage <chanika@gmail.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Library General Public License version 2,
7 * or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef PLASMA_SAVERDESKTOP_H
21 #define PLASMA_SAVERDESKTOP_H
26 #include <plasma/containment.h>
35 * This is a minimal containment for plasma-overlay.
38 class SaverDesktop
: public Plasma::Containment
43 SaverDesktop(QObject
*parent
, const QVariantList
&args
);
47 void constraintsEvent(Plasma::Constraints constraints
);
48 QList
<QAction
*> contextualActions();
56 void unlock(QDBusMessage reply
);
57 void dbusError(QDBusError error
);
61 QAction
*m_lockDesktopAction
;
62 QAction
*m_appletBrowserAction
;