summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/metadataedit/exifdevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/metadataedit/exifdevice.cpp')
-rw-r--r--kipi-plugins/metadataedit/exifdevice.cpp292
1 files changed, 146 insertions, 146 deletions
diff --git a/kipi-plugins/metadataedit/exifdevice.cpp b/kipi-plugins/metadataedit/exifdevice.cpp
index fde3a1b..c5a28bf 100644
--- a/kipi-plugins/metadataedit/exifdevice.cpp
+++ b/kipi-plugins/metadataedit/exifdevice.cpp
@@ -26,11 +26,11 @@
// QT includes.
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qwhatsthis.h>
-#include <qcombobox.h>
-#include <qvalidator.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqwhatsthis.h>
+#include <tqcombobox.h>
+#include <tqvalidator.h>
// KDE includes.
@@ -86,19 +86,19 @@ public:
modelEdit = 0;
}
- QCheckBox *makeCheck;
- QCheckBox *modelCheck;
- QCheckBox *exposureTimeCheck;
- QCheckBox *exposureBiasCheck;
+ TQCheckBox *makeCheck;
+ TQCheckBox *modelCheck;
+ TQCheckBox *exposureTimeCheck;
+ TQCheckBox *exposureBiasCheck;
- QComboBox *deviceTypeCB;
- QComboBox *exposureProgramCB;
- QComboBox *exposureModeCB;
- QComboBox *ISOSpeedCB;
- QComboBox *meteringModeCB;
- QComboBox *sensingMethodCB;
- QComboBox *sceneTypeCB;
- QComboBox *subjectDistanceTypeCB;
+ TQComboBox *deviceTypeCB;
+ TQComboBox *exposureProgramCB;
+ TQComboBox *exposureModeCB;
+ TQComboBox *ISOSpeedCB;
+ TQComboBox *meteringModeCB;
+ TQComboBox *sensingMethodCB;
+ TQComboBox *sceneTypeCB;
+ TQComboBox *subjectDistanceTypeCB;
KLineEdit *makeEdit;
KLineEdit *modelEdit;
@@ -118,76 +118,76 @@ public:
MetadataCheckBox *subjectDistanceTypeCheck;
};
-EXIFDevice::EXIFDevice(QWidget* parent)
- : QWidget(parent)
+EXIFDevice::EXIFDevice(TQWidget* tqparent)
+ : TQWidget(tqparent)
{
d = new EXIFDevicePriv;
- QGridLayout* grid = new QGridLayout(parent, 16, 5, KDialog::spacingHint());
+ TQGridLayout* grid = new TQGridLayout(tqparent, 16, 5, KDialog::spacingHint());
// EXIF only accept printable Ascii char.
- QRegExp asciiRx("[\x20-\x7F]+$");
- QValidator *asciiValidator = new QRegExpValidator(asciiRx, this);
+ TQRegExp asciiRx("[\x20-\x7F]+$");
+ TQValidator *asciiValidator = new TQRegExpValidator(asciiRx, TQT_TQOBJECT(this));
// --------------------------------------------------------
- d->makeCheck = new QCheckBox(i18n("Device manufacturer (*):"), parent);
- d->makeEdit = new KLineEdit(parent);
+ d->makeCheck = new TQCheckBox(i18n("Device manufacturer (*):"), tqparent);
+ d->makeEdit = new KLineEdit(tqparent);
d->makeEdit->setValidator(asciiValidator);
grid->addMultiCellWidget(d->makeCheck, 0, 0, 0, 0);
grid->addMultiCellWidget(d->makeEdit, 0, 0, 2, 5);
- QWhatsThis::add(d->makeEdit, i18n("<p>Set here the manufacturer of image input equipment used to "
+ TQWhatsThis::add(d->makeEdit, i18n("<p>Set here the manufacturer of image input equipment used to "
"take the picture. This field is limited to ASCII characters."));
// --------------------------------------------------------
- d->modelCheck = new QCheckBox(i18n("Device model (*):"), parent);
- d->modelEdit = new KLineEdit(parent);
+ d->modelCheck = new TQCheckBox(i18n("Device model (*):"), tqparent);
+ d->modelEdit = new KLineEdit(tqparent);
d->modelEdit->setValidator(asciiValidator);
grid->addMultiCellWidget(d->modelCheck, 1, 1, 0, 0);
grid->addMultiCellWidget(d->modelEdit, 1, 1, 2, 5);
- QWhatsThis::add(d->modelEdit, i18n("<p>Set here the model of image input equipment used to "
+ TQWhatsThis::add(d->modelEdit, i18n("<p>Set here the model of image input equipment used to "
"take the picture. This field is limited to ASCII characters."));
// --------------------------------------------------------
- d->deviceTypeCheck = new MetadataCheckBox(i18n("Device type:"), parent);
- d->deviceTypeCB = new QComboBox(false, parent);
+ d->deviceTypeCheck = new MetadataCheckBox(i18n("Device type:"), tqparent);
+ d->deviceTypeCB = new TQComboBox(false, tqparent);
d->deviceTypeCB->insertItem(i18n("Film scanner"), 0);
d->deviceTypeCB->insertItem(i18n("Reflection print scanner"), 1);
d->deviceTypeCB->insertItem(i18n("Digital still camera"), 2);
grid->addMultiCellWidget(d->deviceTypeCheck, 2, 2, 0, 0);
grid->addMultiCellWidget(d->deviceTypeCB, 2, 2, 2, 5);
- QWhatsThis::add(d->deviceTypeCB, i18n("<p>Select here the image input equipment type used to "
+ TQWhatsThis::add(d->deviceTypeCB, i18n("<p>Select here the image input equipment type used to "
"take the picture."));
KActiveLabel *warning = new KActiveLabel(i18n("<b>Warning: EXIF <b><a href="
"'http://en.wikipedia.org/wiki/Exchangeable_image_file_format#MakerNote_Information'>"
"Makernotes</a></b> can be unreadable if you set "
- "wrong device manufacturer/model description.</b>"), parent);
+ "wrong device manufacturer/model description.</b>"), tqparent);
- KSeparator *line = new KSeparator(Horizontal, parent);
+ KSeparator *line = new KSeparator(Qt::Horizontal, tqparent);
grid->addMultiCellWidget(warning, 3, 3, 0, 5);
grid->addMultiCellWidget(line, 4, 4, 0, 5);
// --------------------------------------------------------
- d->exposureTimeCheck = new QCheckBox(i18n("Exposure time (seconds):"), parent);
- d->exposureTimeNumEdit = new KIntSpinBox(1, 100000, 1, 1, 10, parent);
- d->exposureTimeDenEdit = new KIntSpinBox(1, 100000, 1, 1, 10, parent);
- QLabel *exposureLabel = new QLabel("/", parent);
- exposureLabel->setAlignment (Qt::AlignRight|Qt::AlignVCenter);
+ d->exposureTimeCheck = new TQCheckBox(i18n("Exposure time (seconds):"), tqparent);
+ d->exposureTimeNumEdit = new KIntSpinBox(1, 100000, 1, 1, 10, tqparent);
+ d->exposureTimeDenEdit = new KIntSpinBox(1, 100000, 1, 1, 10, tqparent);
+ TQLabel *exposureLabel = new TQLabel("/", tqparent);
+ exposureLabel->tqsetAlignment (TQt::AlignRight|TQt::AlignVCenter);
grid->addMultiCellWidget(d->exposureTimeCheck, 5, 5, 0, 0);
grid->addMultiCellWidget(d->exposureTimeNumEdit, 5, 5, 2, 2);
grid->addMultiCellWidget(exposureLabel, 5, 5, 3, 3);
grid->addMultiCellWidget(d->exposureTimeDenEdit, 5, 5, 4, 4);
- QWhatsThis::add(d->exposureTimeCheck, i18n("<p>Set on this option to set the exposure time "
+ TQWhatsThis::add(d->exposureTimeCheck, i18n("<p>Set on this option to set the exposure time "
"of picture, given in seconds."));
// --------------------------------------------------------
- d->exposureProgramCheck = new MetadataCheckBox(i18n("Exposure program:"), parent);
- d->exposureProgramCB = new QComboBox(false, parent);
+ d->exposureProgramCheck = new MetadataCheckBox(i18n("Exposure program:"), tqparent);
+ d->exposureProgramCB = new TQComboBox(false, tqparent);
d->exposureProgramCB->insertItem(i18n("Not defined"), 0);
d->exposureProgramCB->insertItem(i18n("Manual"), 1);
d->exposureProgramCB->insertItem(i18n("Auto"), 2);
@@ -199,19 +199,19 @@ EXIFDevice::EXIFDevice(QWidget* parent)
d->exposureProgramCB->insertItem(i18n("Landscape mode"), 8);
grid->addMultiCellWidget(d->exposureProgramCheck, 6, 6, 0, 0);
grid->addMultiCellWidget(d->exposureProgramCB, 6, 6, 2, 5);
- QWhatsThis::add(d->exposureProgramCB, i18n("<p>Select here the program used by the camera "
+ TQWhatsThis::add(d->exposureProgramCB, i18n("<p>Select here the program used by the camera "
"to set exposure when the picture have been taken."));
// --------------------------------------------------------
- d->exposureModeCheck = new MetadataCheckBox(i18n("Exposure mode:"), parent);
- d->exposureModeCB = new QComboBox(false, parent);
+ d->exposureModeCheck = new MetadataCheckBox(i18n("Exposure mode:"), tqparent);
+ d->exposureModeCB = new TQComboBox(false, tqparent);
d->exposureModeCB->insertItem(i18n("Auto"), 0);
d->exposureModeCB->insertItem(i18n("Manual"), 1);
d->exposureModeCB->insertItem(i18n("Auto bracket"), 2);
grid->addMultiCellWidget(d->exposureModeCheck, 7, 7, 0, 0);
grid->addMultiCellWidget(d->exposureModeCB, 7, 7, 2, 5);
- QWhatsThis::add(d->exposureModeCB, i18n("<p>Select here the mode used by the camera "
+ TQWhatsThis::add(d->exposureModeCB, i18n("<p>Select here the mode used by the camera "
"to set exposure when the picture have been shot. "
"In auto-bracketing mode, the camera shoots a "
"series of frames of the same scene at different "
@@ -219,20 +219,20 @@ EXIFDevice::EXIFDevice(QWidget* parent)
// --------------------------------------------------------
- d->exposureBiasCheck = new QCheckBox(i18n("Exposure bias (APEX):"), parent);
- d->exposureBiasEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, parent);
+ d->exposureBiasCheck = new TQCheckBox(i18n("Exposure bias (APEX):"), tqparent);
+ d->exposureBiasEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, tqparent);
grid->addMultiCellWidget(d->exposureBiasCheck, 8, 8, 0, 0);
grid->addMultiCellWidget(d->exposureBiasEdit, 8, 8, 2, 2);
- QWhatsThis::add(d->exposureBiasEdit, i18n("<p>Set here the exposure bias value in APEX unit "
+ TQWhatsThis::add(d->exposureBiasEdit, i18n("<p>Set here the exposure bias value in APEX unit "
"used by camera to take the picture."));
- KSeparator *line2 = new KSeparator(Horizontal, parent);
+ KSeparator *line2 = new KSeparator(Qt::Horizontal, tqparent);
grid->addMultiCellWidget(line2, 9, 9, 0, 5);
// --------------------------------------------------------
- d->meteringModeCheck = new MetadataCheckBox(i18n("Metering mode:"), parent);
- d->meteringModeCB = new QComboBox(false, parent);
+ d->meteringModeCheck = new MetadataCheckBox(i18n("Metering mode:"), tqparent);
+ d->meteringModeCB = new TQComboBox(false, tqparent);
d->meteringModeCB->insertItem(i18n("Unknown"), 0);
d->meteringModeCB->insertItem(i18n("Average"), 1);
d->meteringModeCB->insertItem(i18n("Center weighted average"), 2);
@@ -243,13 +243,13 @@ EXIFDevice::EXIFDevice(QWidget* parent)
d->meteringModeCB->insertItem(i18n("Other"), 7);
grid->addMultiCellWidget(d->meteringModeCheck, 10, 10, 0, 0);
grid->addMultiCellWidget(d->meteringModeCB, 10, 10, 2, 5);
- QWhatsThis::add(d->meteringModeCB, i18n("<p>Select here the metering mode used by the camera "
+ TQWhatsThis::add(d->meteringModeCB, i18n("<p>Select here the metering mode used by the camera "
"to set exposure when the picture have been shot."));
// --------------------------------------------------------
- d->ISOSpeedCheck = new MetadataCheckBox(i18n("Sensitivity (ISO):"), parent);
- d->ISOSpeedCB = new QComboBox(false, parent);
+ d->ISOSpeedCheck = new MetadataCheckBox(i18n("Sensitivity (ISO):"), tqparent);
+ d->ISOSpeedCB = new TQComboBox(false, tqparent);
d->ISOSpeedCB->insertItem("10", 0);
d->ISOSpeedCB->insertItem("12", 1);
d->ISOSpeedCB->insertItem("16", 2);
@@ -288,13 +288,13 @@ EXIFDevice::EXIFDevice(QWidget* parent)
d->ISOSpeedCB->insertItem("32000", 35);
grid->addMultiCellWidget(d->ISOSpeedCheck, 11, 11, 0, 0);
grid->addMultiCellWidget(d->ISOSpeedCB, 11, 11, 2, 5);
- QWhatsThis::add(d->ISOSpeedCB, i18n("<p>Select here the ISO Speed of the camera "
+ TQWhatsThis::add(d->ISOSpeedCB, i18n("<p>Select here the ISO Speed of the camera "
"witch have taken the picture."));
// --------------------------------------------------------
- d->sensingMethodCheck = new MetadataCheckBox(i18n("Sensing method:"), parent);
- d->sensingMethodCB = new QComboBox(false, parent);
+ d->sensingMethodCheck = new MetadataCheckBox(i18n("Sensing method:"), tqparent);
+ d->sensingMethodCB = new TQComboBox(false, tqparent);
d->sensingMethodCB->insertItem(i18n("Not defined"), 0);
d->sensingMethodCB->insertItem(i18n("One-chip color area"), 1);
d->sensingMethodCB->insertItem(i18n("Two-chip color area"), 2);
@@ -304,33 +304,33 @@ EXIFDevice::EXIFDevice(QWidget* parent)
d->sensingMethodCB->insertItem(i18n("Color sequential linear"), 6);
grid->addMultiCellWidget(d->sensingMethodCheck, 12, 12, 0, 0);
grid->addMultiCellWidget(d->sensingMethodCB, 12, 12, 2, 5);
- QWhatsThis::add(d->sensingMethodCB, i18n("<p>Select here the image sensor type used by the camera "
+ TQWhatsThis::add(d->sensingMethodCB, i18n("<p>Select here the image sensor type used by the camera "
"to take the picture."));
// --------------------------------------------------------
- d->sceneTypeCheck = new MetadataCheckBox(i18n("Scene capture type:"), parent);
- d->sceneTypeCB = new QComboBox(false, parent);
+ d->sceneTypeCheck = new MetadataCheckBox(i18n("Scene capture type:"), tqparent);
+ d->sceneTypeCB = new TQComboBox(false, tqparent);
d->sceneTypeCB->insertItem(i18n("Standard"), 0);
d->sceneTypeCB->insertItem(i18n("Landscape"), 1);
d->sceneTypeCB->insertItem(i18n("Portrait"), 2);
d->sceneTypeCB->insertItem(i18n("Night scene"), 3);
grid->addMultiCellWidget(d->sceneTypeCheck, 13, 13, 0, 0);
grid->addMultiCellWidget(d->sceneTypeCB, 13, 13, 2, 5);
- QWhatsThis::add(d->sceneTypeCB, i18n("<p>Select here the type of scene used by the camera "
+ TQWhatsThis::add(d->sceneTypeCB, i18n("<p>Select here the type of scene used by the camera "
"to take the picture."));
// --------------------------------------------------------
- d->subjectDistanceTypeCheck = new MetadataCheckBox(i18n("Subject distance type:"), parent);
- d->subjectDistanceTypeCB = new QComboBox(false, parent);
+ d->subjectDistanceTypeCheck = new MetadataCheckBox(i18n("Subject distance type:"), tqparent);
+ d->subjectDistanceTypeCB = new TQComboBox(false, tqparent);
d->subjectDistanceTypeCB->insertItem(i18n("Unknow"), 0);
d->subjectDistanceTypeCB->insertItem(i18n("Macro"), 1);
d->subjectDistanceTypeCB->insertItem(i18n("Close view"), 2);
d->subjectDistanceTypeCB->insertItem(i18n("Distant view"), 3);
grid->addMultiCellWidget(d->subjectDistanceTypeCheck, 14, 14, 0, 0);
grid->addMultiCellWidget(d->subjectDistanceTypeCB, 14, 14, 2, 5);
- QWhatsThis::add(d->subjectDistanceTypeCB, i18n("<p>Select here the type of distance between "
+ TQWhatsThis::add(d->subjectDistanceTypeCB, i18n("<p>Select here the type of distance between "
"the subject and the image input equipment."));
// --------------------------------------------------------
@@ -339,7 +339,7 @@ EXIFDevice::EXIFDevice(QWidget* parent)
"<b><a href='http://en.wikipedia.org/wiki/EXIF'>EXIF</a></b> "
"text tags marked by (*) only support printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
- "characters set.</b>"), parent);
+ "characters set.</b>"), tqparent);
grid->addMultiCellWidget(note, 15, 15, 0, 5);
grid->setColStretch(1, 10);
@@ -348,123 +348,123 @@ EXIFDevice::EXIFDevice(QWidget* parent)
// --------------------------------------------------------
- connect(d->makeCheck, SIGNAL(toggled(bool)),
- d->makeEdit, SLOT(setEnabled(bool)));
+ connect(d->makeCheck, TQT_SIGNAL(toggled(bool)),
+ d->makeEdit, TQT_SLOT(setEnabled(bool)));
- connect(d->modelCheck, SIGNAL(toggled(bool)),
- d->modelEdit, SLOT(setEnabled(bool)));
+ connect(d->modelCheck, TQT_SIGNAL(toggled(bool)),
+ d->modelEdit, TQT_SLOT(setEnabled(bool)));
- connect(d->deviceTypeCheck, SIGNAL(toggled(bool)),
- d->deviceTypeCB, SLOT(setEnabled(bool)));
+ connect(d->deviceTypeCheck, TQT_SIGNAL(toggled(bool)),
+ d->deviceTypeCB, TQT_SLOT(setEnabled(bool)));
- connect(d->exposureTimeCheck, SIGNAL(toggled(bool)),
- d->exposureTimeNumEdit, SLOT(setEnabled(bool)));
+ connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)),
+ d->exposureTimeNumEdit, TQT_SLOT(setEnabled(bool)));
- connect(d->exposureTimeCheck, SIGNAL(toggled(bool)),
- d->exposureTimeDenEdit, SLOT(setEnabled(bool)));
+ connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)),
+ d->exposureTimeDenEdit, TQT_SLOT(setEnabled(bool)));
- connect(d->exposureProgramCheck, SIGNAL(toggled(bool)),
- d->exposureProgramCB, SLOT(setEnabled(bool)));
+ connect(d->exposureProgramCheck, TQT_SIGNAL(toggled(bool)),
+ d->exposureProgramCB, TQT_SLOT(setEnabled(bool)));
- connect(d->exposureModeCheck, SIGNAL(toggled(bool)),
- d->exposureModeCB, SLOT(setEnabled(bool)));
+ connect(d->exposureModeCheck, TQT_SIGNAL(toggled(bool)),
+ d->exposureModeCB, TQT_SLOT(setEnabled(bool)));
- connect(d->exposureBiasCheck, SIGNAL(toggled(bool)),
- d->exposureBiasEdit, SLOT(setEnabled(bool)));
+ connect(d->exposureBiasCheck, TQT_SIGNAL(toggled(bool)),
+ d->exposureBiasEdit, TQT_SLOT(setEnabled(bool)));
- connect(d->meteringModeCheck, SIGNAL(toggled(bool)),
- d->meteringModeCB, SLOT(setEnabled(bool)));
+ connect(d->meteringModeCheck, TQT_SIGNAL(toggled(bool)),
+ d->meteringModeCB, TQT_SLOT(setEnabled(bool)));
- connect(d->ISOSpeedCheck, SIGNAL(toggled(bool)),
- d->ISOSpeedCB, SLOT(setEnabled(bool)));
+ connect(d->ISOSpeedCheck, TQT_SIGNAL(toggled(bool)),
+ d->ISOSpeedCB, TQT_SLOT(setEnabled(bool)));
- connect(d->sensingMethodCheck, SIGNAL(toggled(bool)),
- d->sensingMethodCB, SLOT(setEnabled(bool)));
+ connect(d->sensingMethodCheck, TQT_SIGNAL(toggled(bool)),
+ d->sensingMethodCB, TQT_SLOT(setEnabled(bool)));
- connect(d->sceneTypeCheck, SIGNAL(toggled(bool)),
- d->sceneTypeCB, SLOT(setEnabled(bool)));
+ connect(d->sceneTypeCheck, TQT_SIGNAL(toggled(bool)),
+ d->sceneTypeCB, TQT_SLOT(setEnabled(bool)));
- connect(d->subjectDistanceTypeCheck, SIGNAL(toggled(bool)),
- d->subjectDistanceTypeCB, SLOT(setEnabled(bool)));
+ connect(d->subjectDistanceTypeCheck, TQT_SIGNAL(toggled(bool)),
+ d->subjectDistanceTypeCB, TQT_SLOT(setEnabled(bool)));
// --------------------------------------------------------
- connect(d->makeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->makeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->modelCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->modelCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureTimeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureTimeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureBiasCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureBiasCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->deviceTypeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->deviceTypeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureProgramCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureProgramCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureModeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureModeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->meteringModeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->meteringModeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->ISOSpeedCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->ISOSpeedCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->sensingMethodCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->sensingMethodCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->sceneTypeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->sceneTypeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->subjectDistanceTypeCheck, SIGNAL(toggled(bool)),
- this, SIGNAL(signalModified()));
+ connect(d->subjectDistanceTypeCheck, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SIGNAL(signalModified()));
// --------------------------------------------------------
- connect(d->deviceTypeCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->deviceTypeCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureProgramCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureProgramCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureModeCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureModeCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->ISOSpeedCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->ISOSpeedCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->meteringModeCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->meteringModeCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->sensingMethodCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->sensingMethodCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->sceneTypeCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->sceneTypeCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->subjectDistanceTypeCB, SIGNAL(activated(int)),
- this, SIGNAL(signalModified()));
+ connect(d->subjectDistanceTypeCB, TQT_SIGNAL(activated(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->makeEdit, SIGNAL(textChanged(const QString &)),
- this, SIGNAL(signalModified()));
+ connect(d->makeEdit, TQT_SIGNAL(textChanged(const TQString &)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->modelEdit, SIGNAL(textChanged(const QString &)),
- this, SIGNAL(signalModified()));
+ connect(d->modelEdit, TQT_SIGNAL(textChanged(const TQString &)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureTimeNumEdit, SIGNAL(valueChanged(int)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureTimeNumEdit, TQT_SIGNAL(valueChanged(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureTimeDenEdit, SIGNAL(valueChanged(int)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureTimeDenEdit, TQT_SIGNAL(valueChanged(int)),
+ this, TQT_SIGNAL(signalModified()));
- connect(d->exposureBiasEdit, SIGNAL(valueChanged(double)),
- this, SIGNAL(signalModified()));
+ connect(d->exposureBiasEdit, TQT_SIGNAL(valueChanged(double)),
+ this, TQT_SIGNAL(signalModified()));
}
EXIFDevice::~EXIFDevice()
@@ -472,14 +472,14 @@ EXIFDevice::~EXIFDevice()
delete d;
}
-void EXIFDevice::readMetadata(QByteArray& exifData)
+void EXIFDevice::readMetadata(TQByteArray& exifData)
{
blockSignals(true);
KExiv2Iface::KExiv2 exiv2Iface;
exiv2Iface.setExif(exifData);
long int num=1, den=1;
long val=0;
- QString data;
+ TQString data;
d->makeEdit->clear();
d->makeCheck->setChecked(false);
@@ -596,7 +596,7 @@ void EXIFDevice::readMetadata(QByteArray& exifData)
{
int item = -1;
for (int i = 0 ; i < d->ISOSpeedCB->count() ; i++)
- if (d->ISOSpeedCB->text(i) == QString::number(val))
+ if (d->ISOSpeedCB->text(i) == TQString::number(val))
item = i;
if (item != -1)
@@ -612,7 +612,7 @@ void EXIFDevice::readMetadata(QByteArray& exifData)
val = num / den;
int item = -1;
for (int i = 0 ; i < d->ISOSpeedCB->count() ; i++)
- if (d->ISOSpeedCB->text(i) == QString::number(val))
+ if (d->ISOSpeedCB->text(i) == TQString::number(val))
item = i;
if (item != -1)
@@ -670,7 +670,7 @@ void EXIFDevice::readMetadata(QByteArray& exifData)
blockSignals(false);
}
-void EXIFDevice::applyMetadata(QByteArray& exifData)
+void EXIFDevice::applyMetadata(TQByteArray& exifData)
{
KExiv2Iface::KExiv2 exiv2Iface;
exiv2Iface.setExif(exifData);