You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
352 B

#ifndef HOTKEYING_HPP
#define HOTKEYING_HPP
#include <QKeySequence>
#include <QString>
#include <functional>
namespace hotkeying
{
void hotkey(QString seqName, QKeySequence seq, std::function<void()> func);
bool valid(QString seq);
void load(QString seqName, std::function<void()> func);
QString sequence(QString seqName);
}
#endif // HOTKEYING_HPP