summaryrefslogtreecommitdiffstats
path: root/src/gui/imagefieldwidget.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/imagefieldwidget.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/imagefieldwidget.cpp')
-rw-r--r--src/gui/imagefieldwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/imagefieldwidget.cpp b/src/gui/imagefieldwidget.cpp
index 2cb9b40..253f5f3 100644
--- a/src/gui/imagefieldwidget.cpp
+++ b/src/gui/imagefieldwidget.cpp
@@ -18,21 +18,21 @@
using Tellico::GUI::ImageFieldWidget;
-ImageFieldWidget::ImageFieldWidget(Data::FieldPtr field_, QWidget* parent_, const char* name_/*=0*/)
- : FieldWidget(field_, parent_, name_) {
+ImageFieldWidget::ImageFieldWidget(Data::FieldPtr field_, TQWidget* tqparent_, const char* name_/*=0*/)
+ : FieldWidget(field_, tqparent_, name_) {
m_widget = new ImageWidget(this);
- m_widget->setLinkOnlyChecked(field_->property(QString::fromLatin1("link")) == Latin1Literal("true"));
- connect(m_widget, SIGNAL(signalModified()), SIGNAL(modified()));
+ m_widget->setLinkOnlyChecked(field_->property(TQString::tqfromLatin1("link")) == Latin1Literal("true"));
+ connect(m_widget, TQT_SIGNAL(signalModified()), TQT_SIGNAL(modified()));
registerWidget();
}
-QString ImageFieldWidget::text() const {
+TQString ImageFieldWidget::text() const {
return m_widget->id();
}
-void ImageFieldWidget::setText(const QString& text_) {
+void ImageFieldWidget::setText(const TQString& text_) {
blockSignals(true);
m_widget->blockSignals(true);
@@ -47,7 +47,7 @@ void ImageFieldWidget::clear() {
editMultiple(false);
}
-QWidget* ImageFieldWidget::widget() {
+TQWidget* ImageFieldWidget::widget() {
return m_widget;
}