summaryrefslogtreecommitdiffstats
path: root/src/gui/datefieldwidget.cpp
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/gui/datefieldwidget.cpp
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/gui/datefieldwidget.cpp')
-rw-r--r--src/gui/datefieldwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/datefieldwidget.cpp b/src/gui/datefieldwidget.cpp
index d0609d6..281cee6 100644
--- a/src/gui/datefieldwidget.cpp
+++ b/src/gui/datefieldwidget.cpp
@@ -17,20 +17,20 @@
using Tellico::GUI::DateFieldWidget;
-DateFieldWidget::DateFieldWidget(Data::FieldPtr field_, QWidget* parent_, const char* name_/*=0*/)
- : FieldWidget(field_, parent_, name_) {
+DateFieldWidget::DateFieldWidget(Data::FieldPtr field_, TQWidget* tqparent_, const char* name_/*=0*/)
+ : FieldWidget(field_, tqparent_, name_) {
m_widget = new DateWidget(this);
- connect(m_widget, SIGNAL(signalModified()), SIGNAL(modified()));
+ connect(m_widget, TQT_SIGNAL(signalModified()), TQT_SIGNAL(modified()));
registerWidget();
}
-QString DateFieldWidget::text() const {
+TQString DateFieldWidget::text() const {
return m_widget->text();
}
-void DateFieldWidget::setText(const QString& text_) {
+void DateFieldWidget::setText(const TQString& text_) {
blockSignals(true);
m_widget->blockSignals(true);
@@ -45,7 +45,7 @@ void DateFieldWidget::clear() {
editMultiple(false);
}
-QWidget* DateFieldWidget::widget() {
+TQWidget* DateFieldWidget::widget() {
return m_widget;
}