kde-extraapps/kdeplasma-addons/applets/paste/sendkeys.h
Ivailo Monev 8ad6a12c93 kdeplasma-addons: do not send F1-12 keys from paste applet
specials keys outside the Qt::Key_Space-Qt::Key_ydiaeresis range, Katie
uses values that equal those used by X11 for keys aswell (i.e. the map is
redundant)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-01 04:10:49 +03:00

30 lines
890 B
C++

/*
* Copyright 2008 Petri Damsten <damu@iki.fi>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SENDKEYS_HEADER
#define SENDKEYS_HEADER
#include <QKeySequence>
class SendKeys
{
public:
static void send(const QKeySequence &ks);
static void send(uint k);
};
#endif