diff options
Diffstat (limited to 'src/gui/datefieldwidget.cpp')
-rw-r--r-- | src/gui/datefieldwidget.cpp | 12 |
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; } |