diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/lccnvalidator.cpp | |
parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/lccnvalidator.cpp')
-rw-r--r-- | src/lccnvalidator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lccnvalidator.cpp b/src/lccnvalidator.cpp index bde2427..cf0e850 100644 --- a/src/lccnvalidator.cpp +++ b/src/lccnvalidator.cpp @@ -17,7 +17,7 @@ using Tellico::LCCNValidator; LCCNValidator::LCCNValidator(TQObject* parent_) : TQRegExpValidator(parent_) { - TQRegExp rx(TQString::tqfromLatin1("[a-z ]{0,3}" + TQRegExp rx(TQString::fromLatin1("[a-z ]{0,3}" "(" "\\d{2}-?\\d{1,6}" "|" @@ -54,7 +54,7 @@ TQString LCCNValidator::formalize(const TQString& value_) { // or from any year after 2100. Reasonable, right? // so if the string starts with '20' we take the first 4 digits as the year // otherwise the first 2 - if(afterAlpha.startsWith(TQString::tqfromLatin1("20"))) { + if(afterAlpha.startsWith(TQString::fromLatin1("20"))) { year = afterAlpha.left(4); serial = afterAlpha.mid(4); } else { |