Fix remaining instances of tqStatus embedded in user visible strings

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/kipi-plugins@1250385 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 1075ae0b5e
commit ace56e8f0b

@ -101,7 +101,7 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* parent)
// -------------------------------------------------------- // --------------------------------------------------------
d->statusCheck = new TQCheckBox(i18n("Edit tqStatus:"), parent); d->statusCheck = new TQCheckBox(i18n("Edit Status:"), parent);
d->statusEdit = new KLineEdit(parent); d->statusEdit = new KLineEdit(parent);
d->statusEdit->setValidator(asciiValidator); d->statusEdit->setValidator(asciiValidator);
d->statusEdit->setMaxLength(64); d->statusEdit->setMaxLength(64);
@ -309,7 +309,7 @@ void IPTCtqStatus::readMetadata(TQByteArray& iptcData)
d->statusEdit->clear(); d->statusEdit->clear();
d->statusCheck->setChecked(false); d->statusCheck->setChecked(false);
data = exiv2Iface.getIptcTagString("Iptc.Application2.EdittqStatus", false); data = exiv2Iface.getIptcTagString("Iptc.Application2.EditStatus", false);
if (!data.isNull()) if (!data.isNull())
{ {
d->statusEdit->setText(data); d->statusEdit->setText(data);
@ -423,9 +423,9 @@ void IPTCtqStatus::applyMetadata(TQByteArray& iptcData)
exiv2Iface.setIptc(iptcData); exiv2Iface.setIptc(iptcData);
if (d->statusCheck->isChecked()) if (d->statusCheck->isChecked())
exiv2Iface.setIptcTagString("Iptc.Application2.EdittqStatus", d->statusEdit->text()); exiv2Iface.setIptcTagString("Iptc.Application2.EditStatus", d->statusEdit->text());
else else
exiv2Iface.removeIptcTag("Iptc.Application2.EdittqStatus"); exiv2Iface.removeIptcTag("Iptc.Application2.EditStatus");
if (d->priorityCheck->isChecked()) if (d->priorityCheck->isChecked())
exiv2Iface.setIptcTagString("Iptc.Application2.Urgency", TQString::number(d->priorityCB->currentItem())); exiv2Iface.setIptcTagString("Iptc.Application2.Urgency", TQString::number(d->priorityCB->currentItem()));

Loading…
Cancel
Save