summaryrefslogtreecommitdiffstats
path: root/src/lccnvalidator.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/lccnvalidator.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/lccnvalidator.h')
-rw-r--r--src/lccnvalidator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lccnvalidator.h b/src/lccnvalidator.h
index 60ab807..27a7366 100644
--- a/src/lccnvalidator.h
+++ b/src/lccnvalidator.h
@@ -14,7 +14,7 @@
#ifndef TELLICO_LCCNVALIDATOR_H
#define TELLICO_LCCNVALIDATOR_H
-#include <qvalidator.h>
+#include <tqvalidator.h>
namespace Tellico {
@@ -28,16 +28,16 @@ namespace Tellico {
* - 2001-1114
* - gm 71-2450
*/
-class LCCNValidator : public QRegExpValidator {
+class LCCNValidator : public TQRegExpValidator {
public:
- LCCNValidator(QObject* parent);
+ LCCNValidator(TQObject* tqparent);
/**
* Returns the formalized version as dictated by LOC search
* http://catalog.loc.gov/help/number.htm
*/
- static QString formalize(const QString& value);
+ static TQString formalize(const TQString& value);
};
}