X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=shortcuts.h;fp=shortcuts.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=5a7ce121f9dc4fe58d9d467b110c01cabd2d87cf;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/shortcuts.h b/shortcuts.h deleted file mode 100644 index 5a7ce12..0000000 --- a/shortcuts.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef SHORTCUTS_H -#define SHORTCUTS_H - -#include -#include -#include - -class KeySwitch { -public: - KeySwitch( - const QString &kIdentifier, //! Unique identifier (still unused) - const QString &kName, //! text saved in related action (translated) - const QString &kGroup, //! Scope - const QString &kTag, //! Tag, used for listing related shortcuts - const QKeySequence &kseq); //! Keysequence from action - QString group; - QString name; - QString identifier; - QString tag; - QKeySequence keySequence; -}; - -class Switchboard { -public: - Switchboard (); - void addGroup( QString gIdentifier, QString gName); - void addSwitch( QString identifier, QString scope, QAction *a, QString tag); - QString getASCII(); - void printASCII(); - void printLaTeX(); -protected: - QMultiMap actions; - QMultiMap switches; - QMap groups; - QStringList tags; -}; - -#endif