diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-03-25 10:15:50 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-03-25 10:33:32 +0100 |
| commit | a1e3d36dca9c6abf235c7ddf47ab9185c4b748d5 (patch) | |
| tree | 859befb5df101432b7388e1562f90a01c6d8e238 /src/spinboxciphers.cpp | |
| download | IT-Sicherheit-a1e3d36dca9c6abf235c7ddf47ab9185c4b748d5.tar.gz IT-Sicherheit-a1e3d36dca9c6abf235c7ddf47ab9185c4b748d5.zip | |
First commit of IT-Sicherheit
Diffstat (limited to 'src/spinboxciphers.cpp')
| -rw-r--r-- | src/spinboxciphers.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/spinboxciphers.cpp b/src/spinboxciphers.cpp new file mode 100644 index 0000000..8b2193c --- /dev/null +++ b/src/spinboxciphers.cpp @@ -0,0 +1,17 @@ +#include "spinboxciphers.h" + +SpinBoxCiphers::SpinBoxCiphers(QWidget* parent) : + QSpinBox(parent) +{ + m_cipherStrings = &(CiphersSingleton::getInstance()); +} + +QString SpinBoxCiphers::textFromValue(int value) const +{ + return m_cipherStrings->textFromValue(value); +} + +int SpinBoxCiphers::valueFromText(const QString &text) const +{ + return m_cipherStrings->valueFromText(text); +} |
