A Morse Code Training Application. https://bits.sigpipe.me/projects/cutecw/
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.
 
 
 
 
 

21 lines
439 B

#ifndef KEYINGREADER_H
#define KEYINGREADER_H
#include <QtCore/QString>
#include <QtCore/QList>
#include <QtCore/QHash>
class KeyingReader
{
public:
KeyingReader();
QString analyzeKeying(const QList<int> &m_keyedTimes, int *timingUsed, bool useAll = false);
QString analyzeKey(const QList<int> &m_keyedTimes, int pauseLength);
private:
QHash<int, QChar> inverseCode;
int pastDitLength;
};
#endif // KEYINGREADER_H