Drop the GlobalShortcutsEditor from libkwineffects

As our need can be satisfied without sub-classing KShortcutsEditor
we can drop this class.
icc-effect-5.14.5
Martin Gräßlin 2013-09-09 07:10:08 +02:00
parent e7a9655223
commit ff6cb5e75c
3 changed files with 1 additions and 17 deletions

View File

@ -15,7 +15,7 @@ set(kwineffects_QT_LIBS
) )
set(kwineffects_KDE_LIBS set(kwineffects_KDE_LIBS
KF5::XmlGui # needed for KShortcutEditor KF5::KConfigCore
) )
set(kwineffects_XCB_LIBS set(kwineffects_XCB_LIBS

View File

@ -861,15 +861,6 @@ EffectWindowGroup::~EffectWindowGroup()
{ {
} }
//****************************************
// GlobalShortcutsEditor
//****************************************
GlobalShortcutsEditor::GlobalShortcutsEditor(QWidget *parent) :
KShortcutsEditor(parent, GlobalAction)
{
}
/*************************************************************** /***************************************************************
WindowQuad WindowQuad
***************************************************************/ ***************************************************************/

View File

@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QStack> #include <QStack>
#include <KDE/KPluginFactory> #include <KDE/KPluginFactory>
#include <KDE/KShortcutsEditor>
#include <assert.h> #include <assert.h>
#include <limits.h> #include <limits.h>
@ -1696,12 +1695,6 @@ public:
virtual EffectWindowList members() const = 0; virtual EffectWindowList members() const = 0;
}; };
class KWIN_EXPORT GlobalShortcutsEditor : public KShortcutsEditor
{
public:
explicit GlobalShortcutsEditor(QWidget *parent);
};
struct GLVertex2D struct GLVertex2D
{ {