summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidbfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexidbfactory.cpp')
-rw-r--r--kexi/plugins/forms/kexidbfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/forms/kexidbfactory.cpp b/kexi/plugins/forms/kexidbfactory.cpp
index 3f47a6ec4..e882c0825 100644
--- a/kexi/plugins/forms/kexidbfactory.cpp
+++ b/kexi/plugins/forms/kexidbfactory.cpp
@@ -398,9 +398,9 @@ KexiDBFactory::createWidget(const TQCString &c, TQWidget *p, const char *n,
/* else if(c == "KexiDBTimeEdit")
w = new KexiDBTimeEdit(TQTime::currentTime(), p, n);
else if(c == "KexiDBDateEdit")
- w = new KexiDBDateEdit(TQDate::tqcurrentDate(), p, n);
+ w = new KexiDBDateEdit(TQDate::currentDate(), p, n);
else if(c == "KexiDBDateTimeEdit")
- w = new KexiDBDateTimeEdit(TQDateTime::tqcurrentDateTime(), p, n);*/
+ w = new KexiDBDateTimeEdit(TQDateTime::currentDateTime(), p, n);*/
// else if(c == "KexiDBIntSpinBox")
// w = new KexiDBIntSpinBox(p, n);
// else if(c == "KexiDBDoubleSpinBox")
@@ -497,7 +497,7 @@ KexiDBFactory::startEditing(const TQCString &classname, TQWidget *w, KFormDesign
}
if ( classname == "KexiDBLabel" )
- w->resize(w->tqsizeHint());
+ w->resize(w->sizeHint());
}
else
{