From 2781e27b871150395a5a82e221684108641002b2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:51 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 031454e56009d576589c28757f6c6fcf4884095e. --- src/lccnvalidator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lccnvalidator.cpp') diff --git a/src/lccnvalidator.cpp b/src/lccnvalidator.cpp index cf0e850..bde2427 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::fromLatin1("[a-z ]{0,3}" + TQRegExp rx(TQString::tqfromLatin1("[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::fromLatin1("20"))) { + if(afterAlpha.startsWith(TQString::tqfromLatin1("20"))) { year = afterAlpha.left(4); serial = afterAlpha.mid(4); } else { -- cgit v1.2.1