summaryrefslogtreecommitdiffstats
path: root/src/gui/imagefieldwidget.cpp
diff options
context:
space:
mode:
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;
}