LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
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 QString& 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:27
QList
Definition: ianrulesstorage.h:14
IShortcutProxy::~IShortcutProxy
virtual ~IShortcutProxy()
Definition: ishortcutproxy.h:54