diff options
Diffstat (limited to 'src/gui/ratingfieldwidget.cpp')
-rw-r--r-- | src/gui/ratingfieldwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/ratingfieldwidget.cpp b/src/gui/ratingfieldwidget.cpp index 4b0de71..3887725 100644 --- a/src/gui/ratingfieldwidget.cpp +++ b/src/gui/ratingfieldwidget.cpp @@ -17,19 +17,19 @@ using Tellico::GUI::RatingFieldWidget; -RatingFieldWidget::RatingFieldWidget(Data::FieldPtr field_, QWidget* parent_, const char* name_/*=0*/) - : FieldWidget(field_, parent_, name_) { +RatingFieldWidget::RatingFieldWidget(Data::FieldPtr field_, TQWidget* tqparent_, const char* name_/*=0*/) + : FieldWidget(field_, tqparent_, name_) { m_rating = new RatingWidget(field_, this); - connect(m_rating, SIGNAL(modified()), SIGNAL(modified())); + connect(m_rating, TQT_SIGNAL(modified()), TQT_SIGNAL(modified())); registerWidget(); } -QString RatingFieldWidget::text() const { +TQString RatingFieldWidget::text() const { return m_rating->text(); } -void RatingFieldWidget::setText(const QString& text_) { +void RatingFieldWidget::setText(const TQString& text_) { blockSignals(true); m_rating->blockSignals(true); @@ -52,7 +52,7 @@ void RatingFieldWidget::updateFieldHook(Data::FieldPtr, Data::FieldPtr newField_ m_rating->updateField(newField_); } -QWidget* RatingFieldWidget::widget() { +TQWidget* RatingFieldWidget::widget() { return m_rating; } |