kwin/effects/presentwindows_config.h
Rivo Laks 36c3f4804c Make defaults button reset the shortcuts as well
svn path=/trunk/KDE/kdebase/workspace/; revision=736148
2007-11-13 15:44:52 +00:00

46 lines
1.1 KiB
C++

/*****************************************************************
KWin - the KDE window manager
This file is part of the KDE project.
Copyright (C) 2007 Rivo Laks <rivolaks@hot.ee>
You can Freely distribute this program under the GNU General Public
License. See the file "COPYING" for the exact licensing terms.
******************************************************************/
#ifndef KWIN_PRESENTWINDOWS_CONFIG_H
#define KWIN_PRESENTWINDOWS_CONFIG_H
#define KDE3_SUPPORT
#include <kcmodule.h>
#undef KDE3_SUPPORT
class QComboBox;
class KShortcutsEditor;
namespace KWin
{
class PresentWindowsEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit PresentWindowsEffectConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
~PresentWindowsEffectConfig();
virtual void save();
virtual void load();
virtual void defaults();
protected:
void addItems(QComboBox* combo);
private:
QComboBox* mActivateCombo;
QComboBox* mActivateAllCombo;
KShortcutsEditor* mShortcutEditor;
};
} // namespace
#endif