blob: 8b2193cae88fcad2a9dee5e6ed739e14b72a732b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
}
|