LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
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

 LC
 
 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. More...
 
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. More...