summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/fieldvalidator.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/kexidb/fieldvalidator.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/kexidb/fieldvalidator.h')
-rw-r--r--kexi/kexidb/fieldvalidator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/fieldvalidator.h b/kexi/kexidb/fieldvalidator.h
index 4c5dbbfe..7b0e2bf8 100644
--- a/kexi/kexidb/fieldvalidator.h
+++ b/kexi/kexidb/fieldvalidator.h
@@ -23,13 +23,13 @@
#include <kexidb/kexidb_export.h>
#include <kexiutils/validator.h>
-class QWidget;
+class TQWidget;
namespace KexiDB {
class Field;
//! @short A validator for KexiDB data types
-/*! This can be used by QLineEdit or subclass to provide validated
+/*! This can be used by TQLineEdit or subclass to provide validated
text entry. Curently is supports all integer types, floating point types and booleans.
Internal validators like KIntValidator or KexiUtils::LongLongValidator are used.
'unsigned' and 'scale' parameters are taken into account when setting up internal validators.
@@ -40,7 +40,7 @@ class KEXI_DB_EXPORT FieldValidator : public KexiUtils::MultiValidator
{
public:
//! Setups the validator for \a field. Does not keep a pointer to \a field.
- FieldValidator( const Field &field, QWidget * parent, const char * name = 0 );
+ FieldValidator( const Field &field, TQWidget * tqparent, const char * name = 0 );
~FieldValidator();
};