2007-05-28 11:34:12 +00:00
|
|
|
/*****************************************************************
|
|
|
|
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
|
|
|
|
|
2007-08-27 20:48:55 +00:00
|
|
|
#define KDE3_SUPPORT
|
2007-05-28 11:34:12 +00:00
|
|
|
#include <kcmodule.h>
|
2007-08-27 20:48:55 +00:00
|
|
|
#undef KDE3_SUPPORT
|
2007-05-28 11:34:12 +00:00
|
|
|
|
|
|
|
class QComboBox;
|
2007-11-13 15:44:52 +00:00
|
|
|
class KShortcutsEditor;
|
2007-05-28 11:34:12 +00:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
class PresentWindowsEffectConfig : public KCModule
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2007-09-20 17:48:27 +00:00
|
|
|
explicit PresentWindowsEffectConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
|
2007-05-28 11:34:12 +00:00
|
|
|
~PresentWindowsEffectConfig();
|
|
|
|
|
|
|
|
virtual void save();
|
|
|
|
virtual void load();
|
|
|
|
virtual void defaults();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void addItems(QComboBox* combo);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QComboBox* mActivateCombo;
|
|
|
|
QComboBox* mActivateAllCombo;
|
2007-11-13 15:44:52 +00:00
|
|
|
KShortcutsEditor* mShortcutEditor;
|
2007-05-28 11:34:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|