diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/gui/ratingfieldwidget.cpp | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-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/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; } |