LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
util.h File Reference
#include <functional>
#include <QShortcut>
#include <QList>
#include "shortcutsconfig.h"
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LC
namespace  LC::Util

Functions

void LC::Util::CreateShortcuts (const QList< QKeySequence > &seqs, const std::function< void()> &func, QWidget *parent)
 Makes func invokable with shortcuts in seq.
template<typename Obj>
void LC::Util::CreateShortcuts (const QList< QKeySequence > &seqs, Obj *obj, void(Obj::*member)(), QWidget *parent)
void LC::Util::CreateShortcuts (const QList< QKeySequence > &seqs, QObject *object, const char *metamethod, QWidget *parent)
 Makes metamethod invokable with shortcuts in seq.