LeechCraft
0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Toggle main menu visibility
Loading...
Searching...
No Matches
ishortcutproxy.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#pragma once
10
11
#include <QtPlugin>
12
13
class
QObject;
14
class
QString;
15
class
QKeySequence;
16
17
template
<
typename
T>
18
class
QList
;
19
27
class
Q_DECL_EXPORT
IShortcutProxy
28
{
29
public
:
35
virtual
bool
HasObject
(QObject *
object
)
const
= 0;
36
52
virtual
QList<QKeySequence>
GetShortcuts
(QObject *
object
,
const
QByteArray&
id
) = 0;
53
54
virtual
~IShortcutProxy
() { }
55
};
56
57
Q_DECLARE_INTERFACE (
IShortcutProxy
,
"org.Deviant.LeechCraft.IShortcutProxy/1.0"
)
IShortcutProxy
Proxy for requesting shortcuts from the shortcut manager in the Core.
Definition
ishortcutproxy.h:28
IShortcutProxy::~IShortcutProxy
virtual ~IShortcutProxy()
Definition
ishortcutproxy.h:54
IShortcutProxy::GetShortcuts
virtual QList< QKeySequence > GetShortcuts(QObject *object, const QByteArray &id)=0
Returns a QKeySequence for the given action.
IShortcutProxy::HasObject
virtual bool HasObject(QObject *object) const =0
Checks whether a given object has been registered already.
QList
Definition
ianrulesstorage.h:14
src
interfaces
core
ishortcutproxy.h
Generated by
1.17.0