diff options
Diffstat (limited to 'kipi-plugins/metadataedit')
40 files changed, 261 insertions, 261 deletions
diff --git a/kipi-plugins/metadataedit/commenteditdialog.cpp b/kipi-plugins/metadataedit/commenteditdialog.cpp index 8082632..9d4fc87 100644 --- a/kipi-plugins/metadataedit/commenteditdialog.cpp +++ b/kipi-plugins/metadataedit/commenteditdialog.cpp @@ -73,10 +73,10 @@ public: KIPIPlugins::KPAboutData *about; }; -CommentEditDialog::CommentEditDialog(TQWidget* tqparent) +CommentEditDialog::CommentEditDialog(TQWidget* parent) : KDialogBase(Plain, i18n("Edit Image Caption"), Help|Ok|Cancel, Ok, - tqparent, 0, true, true) + parent, 0, true, true) { d = new CommentEditDialogDialogPrivate; diff --git a/kipi-plugins/metadataedit/commenteditdialog.h b/kipi-plugins/metadataedit/commenteditdialog.h index 280d6db..cb68d6d 100644 --- a/kipi-plugins/metadataedit/commenteditdialog.h +++ b/kipi-plugins/metadataedit/commenteditdialog.h @@ -43,7 +43,7 @@ class CommentEditDialog : public KDialogBase public: - CommentEditDialog(TQWidget* tqparent); + CommentEditDialog(TQWidget* parent); ~CommentEditDialog(); bool syncJFIFCommentIsChecked(); diff --git a/kipi-plugins/metadataedit/commentremovedialog.cpp b/kipi-plugins/metadataedit/commentremovedialog.cpp index 4e6b271..86f6fdd 100644 --- a/kipi-plugins/metadataedit/commentremovedialog.cpp +++ b/kipi-plugins/metadataedit/commentremovedialog.cpp @@ -71,10 +71,10 @@ public: KIPIPlugins::KPAboutData *about; }; -CommentRemoveDialog::CommentRemoveDialog(TQWidget* tqparent) +CommentRemoveDialog::CommentRemoveDialog(TQWidget* parent) : KDialogBase(Plain, i18n("Remove Image Captions"), Help|Ok|Cancel, Ok, - tqparent, 0, true, true) + parent, 0, true, true) { d = new CommentRemoveDialogDialogPrivate; diff --git a/kipi-plugins/metadataedit/commentremovedialog.h b/kipi-plugins/metadataedit/commentremovedialog.h index 2506364..78ffc37 100644 --- a/kipi-plugins/metadataedit/commentremovedialog.h +++ b/kipi-plugins/metadataedit/commentremovedialog.h @@ -39,7 +39,7 @@ class CommentRemoveDialog : public KDialogBase public: - CommentRemoveDialog(TQWidget* tqparent); + CommentRemoveDialog(TQWidget* parent); ~CommentRemoveDialog(); bool removeHOSTCommentIsChecked(); diff --git a/kipi-plugins/metadataedit/exifadjust.cpp b/kipi-plugins/metadataedit/exifadjust.cpp index aad43f8..553b630 100644 --- a/kipi-plugins/metadataedit/exifadjust.cpp +++ b/kipi-plugins/metadataedit/exifadjust.cpp @@ -87,17 +87,17 @@ public: MetadataCheckBox *customRenderedCheck; }; -EXIFAdjust::EXIFAdjust(TQWidget* tqparent) - : TQWidget(tqparent) +EXIFAdjust::EXIFAdjust(TQWidget* parent) + : TQWidget(parent) { d = new EXIFAdjustPriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 6, 2, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 6, 2, KDialog::spacingHint()); // -------------------------------------------------------- - d->brightnessCheck = new TQCheckBox(i18n("Brightness (APEX):"), tqparent); - d->brightnessEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, tqparent); + d->brightnessCheck = new TQCheckBox(i18n("Brightness (APEX):"), parent); + d->brightnessEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, parent); grid->addMultiCellWidget(d->brightnessCheck, 0, 0, 0, 0); grid->addMultiCellWidget(d->brightnessEdit, 0, 0, 2, 2); TQWhatsThis::add(d->brightnessEdit, i18n("<p>Set here the brightness adjustment value in APEX unit " @@ -105,8 +105,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent) // -------------------------------------------------------- - d->gainControlCheck = new MetadataCheckBox(i18n("Gain Control:"), tqparent); - d->gainControlCB = new TQComboBox(false, tqparent); + d->gainControlCheck = new MetadataCheckBox(i18n("Gain Control:"), parent); + d->gainControlCB = new TQComboBox(false, parent); d->gainControlCB->insertItem(i18n("None"), 0); d->gainControlCB->insertItem(i18n("Low gain up"), 1); d->gainControlCB->insertItem(i18n("High gain up"), 2); @@ -119,8 +119,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent) // -------------------------------------------------------- - d->contrastCheck = new MetadataCheckBox(i18n("Contrast:"), tqparent); - d->contrastCB = new TQComboBox(false, tqparent); + d->contrastCheck = new MetadataCheckBox(i18n("Contrast:"), parent); + d->contrastCB = new TQComboBox(false, parent); d->contrastCB->insertItem(i18n("Normal"), 0); d->contrastCB->insertItem(i18n("Soft"), 1); d->contrastCB->insertItem(i18n("Hard"), 2); @@ -131,8 +131,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent) // -------------------------------------------------------- - d->saturationCheck = new MetadataCheckBox(i18n("Saturation:"), tqparent); - d->saturationCB = new TQComboBox(false, tqparent); + d->saturationCheck = new MetadataCheckBox(i18n("Saturation:"), parent); + d->saturationCB = new TQComboBox(false, parent); d->saturationCB->insertItem(i18n("Normal"), 0); d->saturationCB->insertItem(i18n("Low"), 1); d->saturationCB->insertItem(i18n("High"), 2); @@ -143,8 +143,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent) // -------------------------------------------------------- - d->sharpnessCheck = new MetadataCheckBox(i18n("Sharpness:"), tqparent); - d->sharpnessCB = new TQComboBox(false, tqparent); + d->sharpnessCheck = new MetadataCheckBox(i18n("Sharpness:"), parent); + d->sharpnessCB = new TQComboBox(false, parent); d->sharpnessCB->insertItem(i18n("Normal"), 0); d->sharpnessCB->insertItem(i18n("Soft"), 1); d->sharpnessCB->insertItem(i18n("Hard"), 2); @@ -155,8 +155,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent) // -------------------------------------------------------- - d->customRenderedCheck = new MetadataCheckBox(i18n("Custom rendered:"), tqparent); - d->customRenderedCB = new TQComboBox(false, tqparent); + d->customRenderedCheck = new MetadataCheckBox(i18n("Custom rendered:"), parent); + d->customRenderedCB = new TQComboBox(false, parent); d->customRenderedCB->insertItem(i18n("Normal process"), 0); d->customRenderedCB->insertItem(i18n("Custom process"), 1); grid->addMultiCellWidget(d->customRenderedCheck, 5, 5, 0, 0); diff --git a/kipi-plugins/metadataedit/exifadjust.h b/kipi-plugins/metadataedit/exifadjust.h index 1acabaf..02ffd78 100644 --- a/kipi-plugins/metadataedit/exifadjust.h +++ b/kipi-plugins/metadataedit/exifadjust.h @@ -40,7 +40,7 @@ class EXIFAdjust : public TQWidget public: - EXIFAdjust(TQWidget* tqparent); + EXIFAdjust(TQWidget* parent); ~EXIFAdjust(); void applyMetadata(TQByteArray& exifData); diff --git a/kipi-plugins/metadataedit/exifcaption.cpp b/kipi-plugins/metadataedit/exifcaption.cpp index b41ac1b..0bcd96e 100644 --- a/kipi-plugins/metadataedit/exifcaption.cpp +++ b/kipi-plugins/metadataedit/exifcaption.cpp @@ -91,11 +91,11 @@ public: KLineEdit *copyrightEdit; }; -EXIFCaption::EXIFCaption(TQWidget* tqparent) - : TQWidget(tqparent) +EXIFCaption::EXIFCaption(TQWidget* parent) + : TQWidget(parent) { d = new EXIFCaptionPriv; - TQVBoxLayout *vlay = new TQVBoxLayout( tqparent, 0, KDialog::spacingHint() ); + TQVBoxLayout *vlay = new TQVBoxLayout( parent, 0, KDialog::spacingHint() ); // EXIF only accept printable Ascii char. TQRegExp asciiRx("[\x20-\x7F]+$"); @@ -103,8 +103,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->documentNameCheck = new TQCheckBox(i18n("Document name (*):"), tqparent); - d->documentNameEdit = new KLineEdit(tqparent); + d->documentNameCheck = new TQCheckBox(i18n("Document name (*):"), parent); + d->documentNameEdit = new KLineEdit(parent); d->documentNameEdit->setValidator(asciiValidator); vlay->addWidget(d->documentNameCheck); vlay->addWidget(d->documentNameEdit); @@ -114,8 +114,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->imageDescCheck = new TQCheckBox(i18n("Image description (*):"), tqparent); - d->imageDescEdit = new KLineEdit(tqparent); + d->imageDescCheck = new TQCheckBox(i18n("Image description (*):"), parent); + d->imageDescEdit = new KLineEdit(parent); d->imageDescEdit->setValidator(asciiValidator); vlay->addWidget(d->imageDescCheck); vlay->addWidget(d->imageDescEdit); @@ -124,8 +124,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->artistCheck = new TQCheckBox(i18n("Artist (*):"), tqparent); - d->artistEdit = new KLineEdit(tqparent); + d->artistCheck = new TQCheckBox(i18n("Artist (*):"), parent); + d->artistEdit = new KLineEdit(parent); d->artistEdit->setValidator(asciiValidator); vlay->addWidget(d->artistCheck); vlay->addWidget(d->artistEdit); @@ -134,8 +134,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->copyrightCheck = new TQCheckBox(i18n("Copyright (*):"), tqparent); - d->copyrightEdit = new KLineEdit(tqparent); + d->copyrightCheck = new TQCheckBox(i18n("Copyright (*):"), parent); + d->copyrightEdit = new KLineEdit(parent); d->copyrightEdit->setValidator(asciiValidator); vlay->addWidget(d->copyrightCheck); vlay->addWidget(d->copyrightEdit); @@ -144,18 +144,18 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->userCommentCheck = new TQCheckBox(i18n("Caption:"), tqparent); - d->userCommentEdit = new KTextEdit(tqparent); + d->userCommentCheck = new TQCheckBox(i18n("Caption:"), parent); + d->userCommentEdit = new KTextEdit(parent); TQWhatsThis::add(d->userCommentEdit, i18n("<p>Enter the image's caption. " "This field is not limited. UTF8 encoding " "will be used to save the text.")); d->syncHOSTCommentCheck = new TQCheckBox(i18n("Sync captions entered through %1") .tqarg(KApplication::kApplication()->aboutData()->appName()), - tqparent); - d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), tqparent); + parent); + d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), parent); d->syncIPTCCaptionCheck = new TQCheckBox(i18n("Sync IPTC caption (warning: limited to 2000 printable " - "Ascii characters set)"), tqparent); + "Ascii characters set)"), parent); vlay->addWidget(d->userCommentCheck); vlay->addWidget(d->userCommentEdit); @@ -169,7 +169,7 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent) "<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>"), tqparent); + "characters set.</b>"), parent); vlay->addWidget(note); vlay->addStretch(); diff --git a/kipi-plugins/metadataedit/exifcaption.h b/kipi-plugins/metadataedit/exifcaption.h index 8c231d8..0430939 100644 --- a/kipi-plugins/metadataedit/exifcaption.h +++ b/kipi-plugins/metadataedit/exifcaption.h @@ -41,7 +41,7 @@ class EXIFCaption : public TQWidget public: - EXIFCaption(TQWidget* tqparent); + EXIFCaption(TQWidget* parent); ~EXIFCaption(); void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/exifdatetime.cpp b/kipi-plugins/metadataedit/exifdatetime.cpp index c9d3c94..dac52c5 100644 --- a/kipi-plugins/metadataedit/exifdatetime.cpp +++ b/kipi-plugins/metadataedit/exifdatetime.cpp @@ -91,25 +91,25 @@ public: KDateTimeWidget *dateDigitalizedSel; }; -EXIFDateTime::EXIFDateTime(TQWidget* tqparent) - : TQWidget(tqparent) +EXIFDateTime::EXIFDateTime(TQWidget* parent) + : TQWidget(parent) { d = new EXIFDateTimePriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 9, 3, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 9, 3, KDialog::spacingHint()); // -------------------------------------------------------- - d->dateCreatedCheck = new TQCheckBox(i18n("Creation date and time"), tqparent); - d->dateCreatedSubSecCheck = new TQCheckBox(i18n("Creation sub-second"), tqparent); - d->dateCreatedSel = new KDateTimeWidget(tqparent); - d->dateCreatedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, tqparent); + d->dateCreatedCheck = new TQCheckBox(i18n("Creation date and time"), parent); + d->dateCreatedSubSecCheck = new TQCheckBox(i18n("Creation sub-second"), parent); + d->dateCreatedSel = new KDateTimeWidget(parent); + d->dateCreatedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, parent); d->dateCreatedSel->setDateTime(TQDateTime::tqcurrentDateTime()); d->syncHOSTDateCheck = new TQCheckBox(i18n("Sync creation date entered through %1") .tqarg(KApplication::kApplication()->aboutData()->appName()), - tqparent); - d->syncIPTCDateCheck = new TQCheckBox(i18n("Sync IPTC creation date"), tqparent); - KSeparator *line = new KSeparator(Qt::Horizontal, tqparent); + parent); + d->syncIPTCDateCheck = new TQCheckBox(i18n("Sync IPTC creation date"), parent); + KSeparator *line = new KSeparator(Qt::Horizontal, parent); grid->addMultiCellWidget(d->dateCreatedCheck, 0, 0, 0, 0); grid->addMultiCellWidget(d->dateCreatedSubSecCheck, 0, 0, 1, 2); @@ -126,10 +126,10 @@ EXIFDateTime::EXIFDateTime(TQWidget* tqparent) // -------------------------------------------------------- - d->dateOriginalCheck = new TQCheckBox(i18n("Original date and time"), tqparent); - d->dateOriginalSubSecCheck = new TQCheckBox(i18n("Original sub-second"), tqparent); - d->dateOriginalSel = new KDateTimeWidget(tqparent); - d->dateOriginalSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, tqparent); + d->dateOriginalCheck = new TQCheckBox(i18n("Original date and time"), parent); + d->dateOriginalSubSecCheck = new TQCheckBox(i18n("Original sub-second"), parent); + d->dateOriginalSel = new KDateTimeWidget(parent); + d->dateOriginalSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, parent); d->dateOriginalSel->setDateTime(TQDateTime::tqcurrentDateTime()); grid->addMultiCellWidget(d->dateOriginalCheck, 5, 5, 0, 0); grid->addMultiCellWidget(d->dateOriginalSubSecCheck, 5, 5, 1, 2); @@ -143,10 +143,10 @@ EXIFDateTime::EXIFDateTime(TQWidget* tqparent) // -------------------------------------------------------- - d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date and time"), tqparent); - d->dateDigitalizedSubSecCheck = new TQCheckBox(i18n("Digitization sub-second"), tqparent); - d->dateDigitalizedSel = new KDateTimeWidget(tqparent); - d->dateDigitalizedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, tqparent); + d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date and time"), parent); + d->dateDigitalizedSubSecCheck = new TQCheckBox(i18n("Digitization sub-second"), parent); + d->dateDigitalizedSel = new KDateTimeWidget(parent); + d->dateDigitalizedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, parent); d->dateDigitalizedSel->setDateTime(TQDateTime::tqcurrentDateTime()); grid->addMultiCellWidget(d->dateDigitalizedCheck, 7, 7, 0, 0); grid->addMultiCellWidget(d->dateDigitalizedSubSecCheck, 7, 7, 1, 2); diff --git a/kipi-plugins/metadataedit/exifdatetime.h b/kipi-plugins/metadataedit/exifdatetime.h index 6b41fb5..21263c9 100644 --- a/kipi-plugins/metadataedit/exifdatetime.h +++ b/kipi-plugins/metadataedit/exifdatetime.h @@ -41,7 +41,7 @@ class EXIFDateTime : public TQWidget public: - EXIFDateTime(TQWidget* tqparent); + EXIFDateTime(TQWidget* parent); ~EXIFDateTime(); void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/exifdevice.cpp b/kipi-plugins/metadataedit/exifdevice.cpp index c5a28bf..890a1e3 100644 --- a/kipi-plugins/metadataedit/exifdevice.cpp +++ b/kipi-plugins/metadataedit/exifdevice.cpp @@ -118,12 +118,12 @@ public: MetadataCheckBox *subjectDistanceTypeCheck; }; -EXIFDevice::EXIFDevice(TQWidget* tqparent) - : TQWidget(tqparent) +EXIFDevice::EXIFDevice(TQWidget* parent) + : TQWidget(parent) { d = new EXIFDevicePriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 16, 5, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 16, 5, KDialog::spacingHint()); // EXIF only accept printable Ascii char. TQRegExp asciiRx("[\x20-\x7F]+$"); @@ -131,8 +131,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->makeCheck = new TQCheckBox(i18n("Device manufacturer (*):"), tqparent); - d->makeEdit = new KLineEdit(tqparent); + d->makeCheck = new TQCheckBox(i18n("Device manufacturer (*):"), parent); + d->makeEdit = new KLineEdit(parent); d->makeEdit->setValidator(asciiValidator); grid->addMultiCellWidget(d->makeCheck, 0, 0, 0, 0); grid->addMultiCellWidget(d->makeEdit, 0, 0, 2, 5); @@ -141,8 +141,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->modelCheck = new TQCheckBox(i18n("Device model (*):"), tqparent); - d->modelEdit = new KLineEdit(tqparent); + d->modelCheck = new TQCheckBox(i18n("Device model (*):"), parent); + d->modelEdit = new KLineEdit(parent); d->modelEdit->setValidator(asciiValidator); grid->addMultiCellWidget(d->modelCheck, 1, 1, 0, 0); grid->addMultiCellWidget(d->modelEdit, 1, 1, 2, 5); @@ -151,8 +151,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->deviceTypeCheck = new MetadataCheckBox(i18n("Device type:"), tqparent); - d->deviceTypeCB = new TQComboBox(false, tqparent); + d->deviceTypeCheck = new MetadataCheckBox(i18n("Device type:"), parent); + d->deviceTypeCB = new TQComboBox(false, parent); d->deviceTypeCB->insertItem(i18n("Film scanner"), 0); d->deviceTypeCB->insertItem(i18n("Reflection print scanner"), 1); d->deviceTypeCB->insertItem(i18n("Digital still camera"), 2); @@ -164,18 +164,18 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) 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>"), tqparent); + "wrong device manufacturer/model description.</b>"), parent); - KSeparator *line = new KSeparator(Qt::Horizontal, tqparent); + KSeparator *line = new KSeparator(Qt::Horizontal, parent); grid->addMultiCellWidget(warning, 3, 3, 0, 5); grid->addMultiCellWidget(line, 4, 4, 0, 5); // -------------------------------------------------------- - 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); + d->exposureTimeCheck = new TQCheckBox(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); + TQLabel *exposureLabel = new TQLabel("/", parent); exposureLabel->tqsetAlignment (TQt::AlignRight|TQt::AlignVCenter); grid->addMultiCellWidget(d->exposureTimeCheck, 5, 5, 0, 0); grid->addMultiCellWidget(d->exposureTimeNumEdit, 5, 5, 2, 2); @@ -186,8 +186,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->exposureProgramCheck = new MetadataCheckBox(i18n("Exposure program:"), tqparent); - d->exposureProgramCB = new TQComboBox(false, tqparent); + d->exposureProgramCheck = new MetadataCheckBox(i18n("Exposure program:"), parent); + d->exposureProgramCB = new TQComboBox(false, parent); d->exposureProgramCB->insertItem(i18n("Not defined"), 0); d->exposureProgramCB->insertItem(i18n("Manual"), 1); d->exposureProgramCB->insertItem(i18n("Auto"), 2); @@ -204,8 +204,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->exposureModeCheck = new MetadataCheckBox(i18n("Exposure mode:"), tqparent); - d->exposureModeCB = new TQComboBox(false, tqparent); + d->exposureModeCheck = new MetadataCheckBox(i18n("Exposure mode:"), parent); + d->exposureModeCB = new TQComboBox(false, parent); d->exposureModeCB->insertItem(i18n("Auto"), 0); d->exposureModeCB->insertItem(i18n("Manual"), 1); d->exposureModeCB->insertItem(i18n("Auto bracket"), 2); @@ -219,20 +219,20 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->exposureBiasCheck = new TQCheckBox(i18n("Exposure bias (APEX):"), tqparent); - d->exposureBiasEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, tqparent); + d->exposureBiasCheck = new TQCheckBox(i18n("Exposure bias (APEX):"), parent); + d->exposureBiasEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, parent); grid->addMultiCellWidget(d->exposureBiasCheck, 8, 8, 0, 0); grid->addMultiCellWidget(d->exposureBiasEdit, 8, 8, 2, 2); 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(Qt::Horizontal, tqparent); + KSeparator *line2 = new KSeparator(Qt::Horizontal, parent); grid->addMultiCellWidget(line2, 9, 9, 0, 5); // -------------------------------------------------------- - d->meteringModeCheck = new MetadataCheckBox(i18n("Metering mode:"), tqparent); - d->meteringModeCB = new TQComboBox(false, tqparent); + d->meteringModeCheck = new MetadataCheckBox(i18n("Metering mode:"), parent); + d->meteringModeCB = new TQComboBox(false, parent); d->meteringModeCB->insertItem(i18n("Unknown"), 0); d->meteringModeCB->insertItem(i18n("Average"), 1); d->meteringModeCB->insertItem(i18n("Center weighted average"), 2); @@ -248,8 +248,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->ISOSpeedCheck = new MetadataCheckBox(i18n("Sensitivity (ISO):"), tqparent); - d->ISOSpeedCB = new TQComboBox(false, tqparent); + d->ISOSpeedCheck = new MetadataCheckBox(i18n("Sensitivity (ISO):"), parent); + d->ISOSpeedCB = new TQComboBox(false, parent); d->ISOSpeedCB->insertItem("10", 0); d->ISOSpeedCB->insertItem("12", 1); d->ISOSpeedCB->insertItem("16", 2); @@ -293,8 +293,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->sensingMethodCheck = new MetadataCheckBox(i18n("Sensing method:"), tqparent); - d->sensingMethodCB = new TQComboBox(false, tqparent); + d->sensingMethodCheck = new MetadataCheckBox(i18n("Sensing method:"), parent); + d->sensingMethodCB = new TQComboBox(false, parent); 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); @@ -309,8 +309,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->sceneTypeCheck = new MetadataCheckBox(i18n("Scene capture type:"), tqparent); - d->sceneTypeCB = new TQComboBox(false, tqparent); + d->sceneTypeCheck = new MetadataCheckBox(i18n("Scene capture type:"), parent); + d->sceneTypeCB = new TQComboBox(false, parent); d->sceneTypeCB->insertItem(i18n("Standard"), 0); d->sceneTypeCB->insertItem(i18n("Landscape"), 1); d->sceneTypeCB->insertItem(i18n("Portrait"), 2); @@ -322,8 +322,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) // -------------------------------------------------------- - d->subjectDistanceTypeCheck = new MetadataCheckBox(i18n("Subject distance type:"), tqparent); - d->subjectDistanceTypeCB = new TQComboBox(false, tqparent); + d->subjectDistanceTypeCheck = new MetadataCheckBox(i18n("Subject distance type:"), parent); + d->subjectDistanceTypeCB = new TQComboBox(false, parent); d->subjectDistanceTypeCB->insertItem(i18n("Unknow"), 0); d->subjectDistanceTypeCB->insertItem(i18n("Macro"), 1); d->subjectDistanceTypeCB->insertItem(i18n("Close view"), 2); @@ -339,7 +339,7 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent) "<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>"), tqparent); + "characters set.</b>"), parent); grid->addMultiCellWidget(note, 15, 15, 0, 5); grid->setColStretch(1, 10); diff --git a/kipi-plugins/metadataedit/exifdevice.h b/kipi-plugins/metadataedit/exifdevice.h index 1d95cb4..41bfca0 100644 --- a/kipi-plugins/metadataedit/exifdevice.h +++ b/kipi-plugins/metadataedit/exifdevice.h @@ -40,7 +40,7 @@ class EXIFDevice : public TQWidget public: - EXIFDevice(TQWidget* tqparent); + EXIFDevice(TQWidget* parent); ~EXIFDevice(); void applyMetadata(TQByteArray& exifData); diff --git a/kipi-plugins/metadataedit/exifeditdialog.cpp b/kipi-plugins/metadataedit/exifeditdialog.cpp index 60258cb..c8989a2 100644 --- a/kipi-plugins/metadataedit/exifeditdialog.cpp +++ b/kipi-plugins/metadataedit/exifeditdialog.cpp @@ -120,11 +120,11 @@ public: KIPIPlugins::KPAboutData *about; }; -EXIFEditDialog::EXIFEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface) +EXIFEditDialog::EXIFEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface) : KDialogBase(IconList, TQString(), urls.count() > 1 ? Help|User1|User2|Stretch|Ok|Apply|Close : Help|Stretch|Ok|Apply|Close, - Ok, tqparent, 0, true, true, + Ok, parent, 0, true, true, KStdGuiItem::guiItem(KStdGuiItem::Forward), KStdGuiItem::guiItem(KStdGuiItem::Back) ) { diff --git a/kipi-plugins/metadataedit/exifeditdialog.h b/kipi-plugins/metadataedit/exifeditdialog.h index 3fc0bb7..7fb45cf 100644 --- a/kipi-plugins/metadataedit/exifeditdialog.h +++ b/kipi-plugins/metadataedit/exifeditdialog.h @@ -49,7 +49,7 @@ class EXIFEditDialog : public KDialogBase public: - EXIFEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface); + EXIFEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface); ~EXIFEditDialog(); public slots: diff --git a/kipi-plugins/metadataedit/exiflens.cpp b/kipi-plugins/metadataedit/exiflens.cpp index 4f75217..a672b87 100644 --- a/kipi-plugins/metadataedit/exiflens.cpp +++ b/kipi-plugins/metadataedit/exiflens.cpp @@ -145,17 +145,17 @@ public: MetadataCheckBox *maxApertureCheck; }; -EXIFLens::EXIFLens(TQWidget* tqparent) - : TQWidget(tqparent) +EXIFLens::EXIFLens(TQWidget* parent) + : TQWidget(parent) { d = new EXIFLensPriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 5, 2, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 5, 2, KDialog::spacingHint()); // -------------------------------------------------------- - d->focalLengthCheck = new TQCheckBox(i18n("Focal length (mm):"), tqparent); - d->focalLengthEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 50.0, 1, tqparent); + d->focalLengthCheck = new TQCheckBox(i18n("Focal length (mm):"), parent); + d->focalLengthEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 50.0, 1, parent); grid->addMultiCellWidget(d->focalLengthCheck, 0, 0, 0, 0); grid->addMultiCellWidget(d->focalLengthEdit, 0, 0, 2, 2); TQWhatsThis::add(d->focalLengthEdit, i18n("<p>Set here the lens focal length in milimeters " @@ -163,8 +163,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent) // -------------------------------------------------------- - d->focalLength35mmCheck = new TQCheckBox(i18n("Focal length in 35mm film (mm):"), tqparent); - d->focalLength35mmEdit = new KIntSpinBox(1, 10000, 1, 1, 10, tqparent); + d->focalLength35mmCheck = new TQCheckBox(i18n("Focal length in 35mm film (mm):"), parent); + d->focalLength35mmEdit = new KIntSpinBox(1, 10000, 1, 1, 10, parent); grid->addMultiCellWidget(d->focalLength35mmCheck, 1, 1, 0, 0); grid->addMultiCellWidget(d->focalLength35mmEdit, 1, 1, 2, 2); TQWhatsThis::add(d->focalLength35mmEdit, i18n("<p>Set here equivalent focal length assuming " @@ -173,8 +173,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent) // -------------------------------------------------------- - d->digitalZoomRatioCheck = new TQCheckBox(i18n("Digital zoom ratio:"), tqparent); - d->digitalZoomRatioEdit = new KDoubleSpinBox(0.0, 100.0, 0.1, 1.0, 1, tqparent); + d->digitalZoomRatioCheck = new TQCheckBox(i18n("Digital zoom ratio:"), parent); + d->digitalZoomRatioEdit = new KDoubleSpinBox(0.0, 100.0, 0.1, 1.0, 1, parent); grid->addMultiCellWidget(d->digitalZoomRatioCheck, 2, 2, 0, 0); grid->addMultiCellWidget(d->digitalZoomRatioEdit, 2, 2, 2, 2); TQWhatsThis::add(d->digitalZoomRatioEdit, i18n("<p>Set here the digital zoom ratio " @@ -182,8 +182,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent) // -------------------------------------------------------- - d->apertureCheck = new MetadataCheckBox(i18n("Lens aperture (f-number):"), tqparent); - d->apertureCB = new TQComboBox(false, tqparent); + d->apertureCheck = new MetadataCheckBox(i18n("Lens aperture (f-number):"), parent); + d->apertureCB = new TQComboBox(false, parent); d->apertureCB->insertStringList(d->apertureValues); grid->addMultiCellWidget(d->apertureCheck, 3, 3, 0, 0); grid->addMultiCellWidget(d->apertureCB, 3, 3, 2, 2); @@ -192,8 +192,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent) // -------------------------------------------------------- - d->maxApertureCheck = new MetadataCheckBox(i18n("Max. lens aperture (f-number):"), tqparent); - d->maxApertureCB = new TQComboBox(false, tqparent); + d->maxApertureCheck = new MetadataCheckBox(i18n("Max. lens aperture (f-number):"), parent); + d->maxApertureCB = new TQComboBox(false, parent); d->maxApertureCB->insertStringList(d->apertureValues); grid->addMultiCellWidget(d->maxApertureCheck, 4, 4, 0, 0); grid->addMultiCellWidget(d->maxApertureCB, 4, 4, 2, 2); diff --git a/kipi-plugins/metadataedit/exiflens.h b/kipi-plugins/metadataedit/exiflens.h index d0b19ab..b2371b6 100644 --- a/kipi-plugins/metadataedit/exiflens.h +++ b/kipi-plugins/metadataedit/exiflens.h @@ -40,7 +40,7 @@ class EXIFLens : public TQWidget public: - EXIFLens(TQWidget* tqparent); + EXIFLens(TQWidget* parent); ~EXIFLens(); void applyMetadata(TQByteArray& exifData); diff --git a/kipi-plugins/metadataedit/exiflight.cpp b/kipi-plugins/metadataedit/exiflight.cpp index 8812a90..703ad9d 100644 --- a/kipi-plugins/metadataedit/exiflight.cpp +++ b/kipi-plugins/metadataedit/exiflight.cpp @@ -123,17 +123,17 @@ public: MetadataCheckBox *whiteBalanceCheck; }; -EXIFLight::EXIFLight(TQWidget* tqparent) - : TQWidget(tqparent) +EXIFLight::EXIFLight(TQWidget* parent) + : TQWidget(parent) { d = new EXIFLightPriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 4, 3, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 4, 3, KDialog::spacingHint()); // -------------------------------------------------------- - d->lightSourceCheck = new MetadataCheckBox(i18n("Light source:"), tqparent); - d->lightSourceCB = new TQComboBox(false, tqparent); + d->lightSourceCheck = new MetadataCheckBox(i18n("Light source:"), parent); + d->lightSourceCB = new TQComboBox(false, parent); d->lightSourceCB->insertItem(i18n("Unknown"), 0); d->lightSourceCB->insertItem(i18n("Daylight"), 1); d->lightSourceCB->insertItem(i18n("Fluorescent"), 2); @@ -162,8 +162,8 @@ EXIFLight::EXIFLight(TQWidget* tqparent) // -------------------------------------------------------- - d->flashModeCheck = new MetadataCheckBox(i18n("Flash mode:"), tqparent); - d->flashModeCB = new TQComboBox(false, tqparent); + d->flashModeCheck = new MetadataCheckBox(i18n("Flash mode:"), parent); + d->flashModeCB = new TQComboBox(false, parent); for (EXIFLightPriv::FlashModeMap::Iterator it = d->flashModeMap.begin(); it != d->flashModeMap.end(); ++it ) @@ -176,8 +176,8 @@ EXIFLight::EXIFLight(TQWidget* tqparent) // -------------------------------------------------------- - d->flashEnergyCheck = new TQCheckBox(i18n("Flash energy (BCPS):"), tqparent); - d->flashEnergyEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 1.0, 1, tqparent); + d->flashEnergyCheck = new TQCheckBox(i18n("Flash energy (BCPS):"), parent); + d->flashEnergyEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 1.0, 1, parent); grid->addMultiCellWidget(d->flashEnergyCheck, 2, 2, 0, 0); grid->addMultiCellWidget(d->flashEnergyEdit, 2, 2, 2, 2); TQWhatsThis::add(d->flashEnergyEdit, i18n("<p>Set here the flash energy used to take the picture " @@ -188,8 +188,8 @@ EXIFLight::EXIFLight(TQWidget* tqparent) // -------------------------------------------------------- - d->whiteBalanceCheck = new MetadataCheckBox(i18n("White balance:"), tqparent); - d->whiteBalanceCB = new TQComboBox(false, tqparent); + d->whiteBalanceCheck = new MetadataCheckBox(i18n("White balance:"), parent); + d->whiteBalanceCB = new TQComboBox(false, parent); d->whiteBalanceCB->insertItem(i18n("Auto"), 0); d->whiteBalanceCB->insertItem(i18n("Manual"), 1); grid->addMultiCellWidget(d->whiteBalanceCheck, 3, 3, 0, 0); diff --git a/kipi-plugins/metadataedit/exiflight.h b/kipi-plugins/metadataedit/exiflight.h index 5ea5611..ce6812c 100644 --- a/kipi-plugins/metadataedit/exiflight.h +++ b/kipi-plugins/metadataedit/exiflight.h @@ -40,7 +40,7 @@ class EXIFLight : public TQWidget public: - EXIFLight(TQWidget* tqparent); + EXIFLight(TQWidget* parent); ~EXIFLight(); void applyMetadata(TQByteArray& exifData); diff --git a/kipi-plugins/metadataedit/iptccaption.cpp b/kipi-plugins/metadataedit/iptccaption.cpp index cfe1f88..d5e2823 100644 --- a/kipi-plugins/metadataedit/iptccaption.cpp +++ b/kipi-plugins/metadataedit/iptccaption.cpp @@ -87,11 +87,11 @@ public: KLineEdit *headlineEdit; }; -IPTCCaption::IPTCCaption(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCCaption::IPTCCaption(TQWidget* parent) + : TQWidget(parent) { d = new IPTCCaptionPriv; - TQVBoxLayout *vlay = new TQVBoxLayout( tqparent, 0, KDialog::spacingHint() ); + TQVBoxLayout *vlay = new TQVBoxLayout( parent, 0, KDialog::spacingHint() ); // IPTC only accept printable Ascii char. TQRegExp asciiRx("[\x20-\x7F]+$"); @@ -99,14 +99,14 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->captionCheck = new TQCheckBox(i18n("Caption:"), tqparent); - d->captionEdit = new KTextEdit(tqparent); - d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), tqparent); + d->captionCheck = new TQCheckBox(i18n("Caption:"), parent); + d->captionEdit = new KTextEdit(parent); + d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), parent); d->syncHOSTCommentCheck = new TQCheckBox(i18n("Sync caption entered through %1") .tqarg(KApplication::kApplication()->aboutData()->appName()), - tqparent); - d->syncEXIFCommentCheck = new TQCheckBox(i18n("Sync EXIF Comment"), tqparent); - KSeparator *line = new KSeparator(Qt::Horizontal, tqparent); + parent); + d->syncEXIFCommentCheck = new TQCheckBox(i18n("Sync EXIF Comment"), parent); + KSeparator *line = new KSeparator(Qt::Horizontal, parent); /* d->captionEdit->setValidator(asciiValidator); d->captionEdit->setMaxLength(2000);*/ @@ -121,8 +121,8 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->writerCheck = new TQCheckBox(i18n("Caption Writer:"), tqparent); - d->writerEdit = new KLineEdit(tqparent); + d->writerCheck = new TQCheckBox(i18n("Caption Writer:"), parent); + d->writerEdit = new KLineEdit(parent); d->writerEdit->setValidator(asciiValidator); d->writerEdit->setMaxLength(32); vlay->addWidget(d->writerCheck); @@ -132,8 +132,8 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->headlineCheck = new TQCheckBox(i18n("Headline:"), tqparent); - d->headlineEdit = new KLineEdit(tqparent); + d->headlineCheck = new TQCheckBox(i18n("Headline:"), parent); + d->headlineEdit = new KLineEdit(parent); d->headlineEdit->setValidator(asciiValidator); d->headlineEdit->setMaxLength(256); vlay->addWidget(d->headlineCheck); @@ -143,8 +143,8 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent) // -------------------------------------------------------- - d->specialInstructionCheck = new TQCheckBox(i18n("Special Instructions:"), tqparent); - d->specialInstructionEdit = new KTextEdit(tqparent); + d->specialInstructionCheck = new TQCheckBox(i18n("Special Instructions:"), parent); + d->specialInstructionEdit = new KTextEdit(parent); /* d->specialInstructionEdit->setValidator(asciiValidator); d->specialInstructionEdit->setMaxLength(256);*/ vlay->addWidget(d->specialInstructionCheck); @@ -159,7 +159,7 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); vlay->addWidget(note); vlay->addStretch(); diff --git a/kipi-plugins/metadataedit/iptccaption.h b/kipi-plugins/metadataedit/iptccaption.h index c47c1bc..0a7f6ab 100644 --- a/kipi-plugins/metadataedit/iptccaption.h +++ b/kipi-plugins/metadataedit/iptccaption.h @@ -40,7 +40,7 @@ class IPTCCaption : public TQWidget public: - IPTCCaption(TQWidget* tqparent); + IPTCCaption(TQWidget* parent); ~IPTCCaption(); void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptccategories.cpp b/kipi-plugins/metadataedit/iptccategories.cpp index 48ef08d..7cd3193 100644 --- a/kipi-plugins/metadataedit/iptccategories.cpp +++ b/kipi-plugins/metadataedit/iptccategories.cpp @@ -79,11 +79,11 @@ public: KListBox *subCategoriesBox; }; -IPTCCategories::IPTCCategories(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCCategories::IPTCCategories(TQWidget* parent) + : TQWidget(parent) { d = new IPTCCategoriesPriv; - TQGridLayout *grid = new TQGridLayout(tqparent, 6, 1, 0, KDialog::spacingHint()); + TQGridLayout *grid = new TQGridLayout(parent, 6, 1, 0, KDialog::spacingHint()); grid->tqsetAlignment( TQt::AlignTop ); // IPTC only accept printable Ascii char. @@ -92,26 +92,26 @@ IPTCCategories::IPTCCategories(TQWidget* tqparent) // -------------------------------------------------------- - d->categoryCheck = new TQCheckBox(i18n("Identify subject of content (3 chars max):"), tqparent); - d->categoryEdit = new KLineEdit(tqparent); + d->categoryCheck = new TQCheckBox(i18n("Identify subject of content (3 chars max):"), parent); + d->categoryEdit = new KLineEdit(parent); d->categoryEdit->setValidator(asciiValidator); d->categoryEdit->setMaxLength(3); TQWhatsThis::add(d->categoryEdit, i18n("<p>Set here the category of content. This field is limited " "to 3 ASCII characters.")); - d->subCategoriesCheck = new TQCheckBox(i18n("Supplemental categories:"), tqparent); + d->subCategoriesCheck = new TQCheckBox(i18n("Supplemental categories:"), parent); - d->subCategoryEdit = new KLineEdit(tqparent); + d->subCategoryEdit = new KLineEdit(parent); d->subCategoryEdit->setValidator(asciiValidator); d->subCategoryEdit->setMaxLength(32); TQWhatsThis::add(d->subCategoryEdit, i18n("<p>Enter here a new supplemental category of content. " "This field is limited to 32 ASCII characters.")); - d->subCategoriesBox = new KListBox(tqparent); + d->subCategoriesBox = new KListBox(parent); d->subCategoriesBox->setVScrollBarMode(TQScrollView::AlwaysOn); - d->addSubCategoryButton = new TQPushButton( i18n("&Add"), tqparent); - d->delSubCategoryButton = new TQPushButton( i18n("&Delete"), tqparent); + d->addSubCategoryButton = new TQPushButton( i18n("&Add"), parent); + d->delSubCategoryButton = new TQPushButton( i18n("&Delete"), parent); d->addSubCategoryButton->setIconSet(SmallIcon("add")); d->delSubCategoryButton->setIconSet(SmallIcon("remove")); d->delSubCategoryButton->setEnabled(false); @@ -131,7 +131,7 @@ IPTCCategories::IPTCCategories(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); note->setMaximumWidth(150); grid->addMultiCellWidget(note, 5, 5, 1, 1); diff --git a/kipi-plugins/metadataedit/iptccategories.h b/kipi-plugins/metadataedit/iptccategories.h index abb2e0e..85a16aa 100644 --- a/kipi-plugins/metadataedit/iptccategories.h +++ b/kipi-plugins/metadataedit/iptccategories.h @@ -40,7 +40,7 @@ class IPTCCategories : public TQWidget public: - IPTCCategories(TQWidget* tqparent); + IPTCCategories(TQWidget* parent); ~IPTCCategories(); void applyMetadata(TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptccredits.cpp b/kipi-plugins/metadataedit/iptccredits.cpp index cfdf9de..3c88916 100644 --- a/kipi-plugins/metadataedit/iptccredits.cpp +++ b/kipi-plugins/metadataedit/iptccredits.cpp @@ -84,11 +84,11 @@ public: KLineEdit *contactEdit; }; -IPTCCredits::IPTCCredits(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCCredits::IPTCCredits(TQWidget* parent) + : TQWidget(parent) { d = new IPTCCreditsPriv; - TQVBoxLayout *vlay = new TQVBoxLayout( tqparent, 0, KDialog::spacingHint() ); + TQVBoxLayout *vlay = new TQVBoxLayout( parent, 0, KDialog::spacingHint() ); // IPTC only accept printable Ascii char. TQRegExp asciiRx("[\x20-\x7F]+$"); @@ -96,8 +96,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) // -------------------------------------------------------- - d->copyrightCheck = new TQCheckBox(i18n("Copyright:"), tqparent); - d->copyrightEdit = new KLineEdit(tqparent); + d->copyrightCheck = new TQCheckBox(i18n("Copyright:"), parent); + d->copyrightEdit = new KLineEdit(parent); d->copyrightEdit->setValidator(asciiValidator); d->copyrightEdit->setMaxLength(128); vlay->addWidget(d->copyrightCheck); @@ -107,8 +107,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) // -------------------------------------------------------- - d->bylineCheck = new TQCheckBox(i18n("Byline:"), tqparent); - d->bylineEdit = new KLineEdit(tqparent); + d->bylineCheck = new TQCheckBox(i18n("Byline:"), parent); + d->bylineEdit = new KLineEdit(parent); d->bylineEdit->setValidator(asciiValidator); d->bylineEdit->setMaxLength(32); vlay->addWidget(d->bylineCheck); @@ -118,8 +118,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) // -------------------------------------------------------- - d->bylineTitleCheck = new TQCheckBox(i18n("Byline Title:"), tqparent); - d->bylineTitleEdit = new KLineEdit(tqparent); + d->bylineTitleCheck = new TQCheckBox(i18n("Byline Title:"), parent); + d->bylineTitleEdit = new KLineEdit(parent); d->bylineTitleEdit->setValidator(asciiValidator); d->bylineTitleEdit->setMaxLength(32); vlay->addWidget(d->bylineTitleCheck); @@ -129,8 +129,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) // -------------------------------------------------------- - d->creditCheck = new TQCheckBox(i18n("Credit:"), tqparent); - d->creditEdit = new KLineEdit(tqparent); + d->creditCheck = new TQCheckBox(i18n("Credit:"), parent); + d->creditEdit = new KLineEdit(parent); d->creditEdit->setValidator(asciiValidator); d->creditEdit->setMaxLength(32); vlay->addWidget(d->creditCheck); @@ -140,8 +140,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) // -------------------------------------------------------- - d->sourceCheck = new TQCheckBox(i18n("Source:"), tqparent); - d->sourceEdit = new KLineEdit(tqparent); + d->sourceCheck = new TQCheckBox(i18n("Source:"), parent); + d->sourceEdit = new KLineEdit(parent); d->sourceEdit->setValidator(asciiValidator); d->sourceEdit->setMaxLength(32); vlay->addWidget(d->sourceCheck); @@ -151,8 +151,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) // -------------------------------------------------------- - d->contactCheck = new TQCheckBox(i18n("Contact:"), tqparent); - d->contactEdit = new KLineEdit(tqparent); + d->contactCheck = new TQCheckBox(i18n("Contact:"), parent); + d->contactEdit = new KLineEdit(parent); d->contactEdit->setValidator(asciiValidator); d->contactEdit->setMaxLength(128); vlay->addWidget(d->contactCheck); @@ -167,7 +167,7 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); vlay->addWidget(note); vlay->addStretch(); diff --git a/kipi-plugins/metadataedit/iptccredits.h b/kipi-plugins/metadataedit/iptccredits.h index cf56067..ca35908 100644 --- a/kipi-plugins/metadataedit/iptccredits.h +++ b/kipi-plugins/metadataedit/iptccredits.h @@ -40,7 +40,7 @@ class IPTCCredits : public TQWidget public: - IPTCCredits(TQWidget* tqparent); + IPTCCredits(TQWidget* parent); ~IPTCCredits(); void applyMetadata(TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptcdatetime.cpp b/kipi-plugins/metadataedit/iptcdatetime.cpp index db68bb6..df101d1 100644 --- a/kipi-plugins/metadataedit/iptcdatetime.cpp +++ b/kipi-plugins/metadataedit/iptcdatetime.cpp @@ -100,24 +100,24 @@ public: KTimeWidget *timeDigitalizedSel; }; -IPTCDateTime::IPTCDateTime(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCDateTime::IPTCDateTime(TQWidget* parent) + : TQWidget(parent) { d = new IPTCDateTimePriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 11, 2, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 11, 2, KDialog::spacingHint()); // -------------------------------------------------------- - d->dateCreatedCheck = new TQCheckBox(i18n("Creation date"), tqparent); - d->timeCreatedCheck = new TQCheckBox(i18n("Creation time"), tqparent); - d->dateCreatedSel = new KDateWidget(tqparent); - d->timeCreatedSel = new KTimeWidget(tqparent); + d->dateCreatedCheck = new TQCheckBox(i18n("Creation date"), parent); + d->timeCreatedCheck = new TQCheckBox(i18n("Creation time"), parent); + d->dateCreatedSel = new KDateWidget(parent); + d->timeCreatedSel = new KTimeWidget(parent); d->syncHOSTDateCheck = new TQCheckBox(i18n("Sync creation date entered through %1") .tqarg(KApplication::kApplication()->aboutData()->appName()), - tqparent); - d->syncEXIFDateCheck = new TQCheckBox(i18n("Sync EXIF creation date"), tqparent); - KSeparator *line = new KSeparator(Qt::Horizontal, tqparent); + parent); + d->syncEXIFDateCheck = new TQCheckBox(i18n("Sync EXIF creation date"), parent); + KSeparator *line = new KSeparator(Qt::Horizontal, parent); d->dateCreatedSel->setDate(TQDate::tqcurrentDate()); d->timeCreatedSel->setTime(TQTime::currentTime()); grid->addMultiCellWidget(d->dateCreatedCheck, 0, 0, 0, 0); @@ -134,10 +134,10 @@ IPTCDateTime::IPTCDateTime(TQWidget* tqparent) // -------------------------------------------------------- - d->dateReleasedCheck = new TQCheckBox(i18n("Release date"), tqparent); - d->timeReleasedCheck = new TQCheckBox(i18n("Release time"), tqparent); - d->dateReleasedSel = new KDateWidget(tqparent); - d->timeReleasedSel = new KTimeWidget(tqparent); + d->dateReleasedCheck = new TQCheckBox(i18n("Release date"), parent); + d->timeReleasedCheck = new TQCheckBox(i18n("Release time"), parent); + d->dateReleasedSel = new KDateWidget(parent); + d->timeReleasedSel = new KTimeWidget(parent); d->dateReleasedSel->setDate(TQDate::tqcurrentDate()); d->timeReleasedSel->setTime(TQTime::currentTime()); grid->addMultiCellWidget(d->dateReleasedCheck, 5, 5, 0, 0); @@ -151,10 +151,10 @@ IPTCDateTime::IPTCDateTime(TQWidget* tqparent) // -------------------------------------------------------- - d->dateExpiredCheck = new TQCheckBox(i18n("Expiration date"), tqparent); - d->timeExpiredCheck = new TQCheckBox(i18n("Expiration time"), tqparent); - d->dateExpiredSel = new KDateWidget(tqparent); - d->timeExpiredSel = new KTimeWidget(tqparent); + d->dateExpiredCheck = new TQCheckBox(i18n("Expiration date"), parent); + d->timeExpiredCheck = new TQCheckBox(i18n("Expiration time"), parent); + d->dateExpiredSel = new KDateWidget(parent); + d->timeExpiredSel = new KTimeWidget(parent); d->dateExpiredSel->setDate(TQDate::tqcurrentDate()); d->timeExpiredSel->setTime(TQTime::currentTime()); grid->addMultiCellWidget(d->dateExpiredCheck, 7, 7, 0, 0); @@ -168,10 +168,10 @@ IPTCDateTime::IPTCDateTime(TQWidget* tqparent) // -------------------------------------------------------- - d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date"), tqparent); - d->timeDigitalizedCheck = new TQCheckBox(i18n("Digitization time"), tqparent); - d->dateDigitalizedSel = new KDateWidget(tqparent); - d->timeDigitalizedSel = new KTimeWidget(tqparent); + d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date"), parent); + d->timeDigitalizedCheck = new TQCheckBox(i18n("Digitization time"), parent); + d->dateDigitalizedSel = new KDateWidget(parent); + d->timeDigitalizedSel = new KTimeWidget(parent); d->dateDigitalizedSel->setDate(TQDate::tqcurrentDate()); d->timeDigitalizedSel->setTime(TQTime::currentTime()); grid->addMultiCellWidget(d->dateDigitalizedCheck, 9, 9, 0, 0); diff --git a/kipi-plugins/metadataedit/iptcdatetime.h b/kipi-plugins/metadataedit/iptcdatetime.h index 92d5489..9c8e5f9 100644 --- a/kipi-plugins/metadataedit/iptcdatetime.h +++ b/kipi-plugins/metadataedit/iptcdatetime.h @@ -40,7 +40,7 @@ class IPTCDateTime : public TQWidget public: - IPTCDateTime(TQWidget* tqparent); + IPTCDateTime(TQWidget* parent); ~IPTCDateTime(); void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptceditdialog.cpp b/kipi-plugins/metadataedit/iptceditdialog.cpp index 4364322..e4de26d 100644 --- a/kipi-plugins/metadataedit/iptceditdialog.cpp +++ b/kipi-plugins/metadataedit/iptceditdialog.cpp @@ -128,11 +128,11 @@ public: KIPIPlugins::KPAboutData *about; }; -IPTCEditDialog::IPTCEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface) +IPTCEditDialog::IPTCEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface) : KDialogBase(IconList, TQString(), urls.count() > 1 ? Help|User1|User2|Stretch|Ok|Apply|Close : Help|Stretch|Ok|Apply|Close, - Ok, tqparent, 0, true, true, + Ok, parent, 0, true, true, KStdGuiItem::guiItem(KStdGuiItem::Forward), KStdGuiItem::guiItem(KStdGuiItem::Back) ) { diff --git a/kipi-plugins/metadataedit/iptceditdialog.h b/kipi-plugins/metadataedit/iptceditdialog.h index 5c17ff7..e473a1f 100644 --- a/kipi-plugins/metadataedit/iptceditdialog.h +++ b/kipi-plugins/metadataedit/iptceditdialog.h @@ -44,7 +44,7 @@ class IPTCEditDialog : public KDialogBase public: - IPTCEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface); + IPTCEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface); ~IPTCEditDialog(); public slots: diff --git a/kipi-plugins/metadataedit/iptckeywords.cpp b/kipi-plugins/metadataedit/iptckeywords.cpp index 7787f2c..ee85553 100644 --- a/kipi-plugins/metadataedit/iptckeywords.cpp +++ b/kipi-plugins/metadataedit/iptckeywords.cpp @@ -75,11 +75,11 @@ public: KListBox *keywordsBox; }; -IPTCKeywords::IPTCKeywords(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCKeywords::IPTCKeywords(TQWidget* parent) + : TQWidget(parent) { d = new IPTCKeywordsPriv; - TQGridLayout *grid = new TQGridLayout(tqparent, 5, 2, 0, KDialog::spacingHint()); + TQGridLayout *grid = new TQGridLayout(parent, 5, 2, 0, KDialog::spacingHint()); grid->tqsetAlignment( TQt::AlignTop ); // IPTC only accept printable Ascii char. @@ -88,19 +88,19 @@ IPTCKeywords::IPTCKeywords(TQWidget* tqparent) // -------------------------------------------------------- - d->keywordsCheck = new TQCheckBox(i18n("Use information retrieval words:"), tqparent); + d->keywordsCheck = new TQCheckBox(i18n("Use information retrieval words:"), parent); - d->keywordEdit = new KLineEdit(tqparent); + d->keywordEdit = new KLineEdit(parent); d->keywordEdit->setValidator(asciiValidator); d->keywordEdit->setMaxLength(64); TQWhatsThis::add(d->keywordEdit, i18n("<p>Enter here a new keyword. " "This field is limited to 64 ASCII characters.")); - d->keywordsBox = new KListBox(tqparent); + d->keywordsBox = new KListBox(parent); d->keywordsBox->setVScrollBarMode(TQScrollView::AlwaysOn); - d->addKeywordButton = new TQPushButton( i18n("&Add"), tqparent); - d->delKeywordButton = new TQPushButton( i18n("&Delete"), tqparent); + d->addKeywordButton = new TQPushButton( i18n("&Add"), parent); + d->delKeywordButton = new TQPushButton( i18n("&Delete"), parent); d->addKeywordButton->setIconSet(SmallIcon("add")); d->delKeywordButton->setIconSet(SmallIcon("remove")); d->delKeywordButton->setEnabled(false); @@ -118,7 +118,7 @@ IPTCKeywords::IPTCKeywords(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); note->setMaximumWidth(150); grid->addMultiCellWidget(note, 4, 4, 1, 1); diff --git a/kipi-plugins/metadataedit/iptckeywords.h b/kipi-plugins/metadataedit/iptckeywords.h index 7e9f638..2f024ed 100644 --- a/kipi-plugins/metadataedit/iptckeywords.h +++ b/kipi-plugins/metadataedit/iptckeywords.h @@ -40,7 +40,7 @@ class IPTCKeywords : public TQWidget public: - IPTCKeywords(TQWidget* tqparent); + IPTCKeywords(TQWidget* parent); ~IPTCKeywords(); void applyMetadata(TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptcorigin.cpp b/kipi-plugins/metadataedit/iptcorigin.cpp index 6e79338..82966b3 100644 --- a/kipi-plugins/metadataedit/iptcorigin.cpp +++ b/kipi-plugins/metadataedit/iptcorigin.cpp @@ -353,12 +353,12 @@ public: MetadataCheckBox *countryCheck; }; -IPTCOrigin::IPTCOrigin(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCOrigin::IPTCOrigin(TQWidget* parent) + : TQWidget(parent) { d = new IPTCOriginPriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 12, 2, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 12, 2, KDialog::spacingHint()); // IPTC only accept printable Ascii char. TQRegExp asciiRx("[\x20-\x7F]+$"); @@ -366,8 +366,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->objectNameCheck = new TQCheckBox(i18n("Object name:"), tqparent); - d->objectNameEdit = new KLineEdit(tqparent); + d->objectNameCheck = new TQCheckBox(i18n("Object name:"), parent); + d->objectNameEdit = new KLineEdit(parent); d->objectNameEdit->setValidator(asciiValidator); d->objectNameEdit->setMaxLength(64); TQWhatsThis::add(d->objectNameEdit, i18n("<p>Set here the shorthand reference of content. " @@ -375,8 +375,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->locationCheck = new TQCheckBox(i18n("Location:"), tqparent); - d->locationEdit = new KLineEdit(tqparent); + d->locationCheck = new TQCheckBox(i18n("Location:"), parent); + d->locationEdit = new KLineEdit(parent); d->locationEdit->setValidator(asciiValidator); d->locationEdit->setMaxLength(64); TQWhatsThis::add(d->locationEdit, i18n("<p>Set here the full country name referenced by the content. " @@ -385,8 +385,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->cityCheck = new TQCheckBox(i18n("City:"), tqparent); - d->cityEdit = new KLineEdit(tqparent); + d->cityCheck = new TQCheckBox(i18n("City:"), parent); + d->cityEdit = new KLineEdit(parent); d->cityEdit->setValidator(asciiValidator); d->cityEdit->setMaxLength(32); TQWhatsThis::add(d->cityEdit, i18n("<p>Set here the city of content origin. " @@ -394,8 +394,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->sublocationCheck = new TQCheckBox(i18n("Sublocation:"), tqparent); - d->sublocationEdit = new KLineEdit(tqparent); + d->sublocationCheck = new TQCheckBox(i18n("Sublocation:"), parent); + d->sublocationEdit = new KLineEdit(parent); d->sublocationEdit->setValidator(asciiValidator); d->sublocationEdit->setMaxLength(32); TQWhatsThis::add(d->sublocationEdit, i18n("<p>Set here the content location within city. " @@ -403,8 +403,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->provinceCheck = new TQCheckBox(i18n("State/Province:"), tqparent); - d->provinceEdit = new KLineEdit(tqparent); + d->provinceCheck = new TQCheckBox(i18n("State/Province:"), parent); + d->provinceEdit = new KLineEdit(parent); d->provinceEdit->setValidator(asciiValidator); d->provinceEdit->setMaxLength(32); TQWhatsThis::add(d->provinceEdit, i18n("<p>Set here the Province or State of content origin. " @@ -412,8 +412,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->countryCheck = new MetadataCheckBox(i18n("Country:"), tqparent); - d->countryCB = new TQComboBox(false, tqparent); + d->countryCheck = new MetadataCheckBox(i18n("Country:"), parent); + d->countryCB = new TQComboBox(false, parent); for (IPTCOriginPriv::CountryCodeMap::Iterator it = d->countryCodeMap.begin(); it != d->countryCodeMap.end(); ++it ) @@ -425,8 +425,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) // -------------------------------------------------------- - d->originalTransCheck = new TQCheckBox(i18n("Original transmission reference:"), tqparent); - d->originalTransEdit = new KLineEdit(tqparent); + d->originalTransCheck = new TQCheckBox(i18n("Original transmission reference:"), parent); + d->originalTransEdit = new KLineEdit(parent); d->originalTransEdit->setValidator(asciiValidator); d->originalTransEdit->setMaxLength(32); TQWhatsThis::add(d->originalTransEdit, i18n("<p>Set here the location of original content transmission. " @@ -439,7 +439,7 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); // -------------------------------------------------------- @@ -447,7 +447,7 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) grid->addMultiCellWidget(d->objectNameEdit, 1, 1, 0, 2); grid->addMultiCellWidget(d->locationCheck, 2, 2, 0, 0); grid->addMultiCellWidget(d->locationEdit, 2, 2, 1, 2); - grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, tqparent), 3, 3, 0, 2); + grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, parent), 3, 3, 0, 2); grid->addMultiCellWidget(d->cityCheck, 4, 4, 0, 0); grid->addMultiCellWidget(d->cityEdit, 4, 4, 1, 2); grid->addMultiCellWidget(d->sublocationCheck, 5, 5, 0, 0); @@ -456,7 +456,7 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent) grid->addMultiCellWidget(d->provinceEdit, 6, 6, 1, 2); grid->addMultiCellWidget(d->countryCheck, 7, 7, 0, 0); grid->addMultiCellWidget(d->countryCB, 7, 7, 1, 2); - grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, tqparent), 8, 8, 0, 2); + grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, parent), 8, 8, 0, 2); grid->addMultiCellWidget(d->originalTransCheck, 9, 9, 0, 2); grid->addMultiCellWidget(d->originalTransEdit, 10, 10, 0, 2); grid->addMultiCellWidget(note, 11, 11, 0, 2); diff --git a/kipi-plugins/metadataedit/iptcorigin.h b/kipi-plugins/metadataedit/iptcorigin.h index 443e5b4..b579958 100644 --- a/kipi-plugins/metadataedit/iptcorigin.h +++ b/kipi-plugins/metadataedit/iptcorigin.h @@ -40,7 +40,7 @@ class IPTCOrigin : public TQWidget public: - IPTCOrigin(TQWidget* tqparent); + IPTCOrigin(TQWidget* parent); ~IPTCOrigin(); void applyMetadata(TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptcstatus.cpp b/kipi-plugins/metadataedit/iptcstatus.cpp index d55c405..9d7920a 100644 --- a/kipi-plugins/metadataedit/iptcstatus.cpp +++ b/kipi-plugins/metadataedit/iptcstatus.cpp @@ -88,12 +88,12 @@ public: MetadataCheckBox *objectAttributeCheck; }; -IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCtqStatus::IPTCtqStatus(TQWidget* parent) + : TQWidget(parent) { d = new IPTCStatusPriv; - TQGridLayout* grid = new TQGridLayout(tqparent, 11, 2, KDialog::spacingHint()); + TQGridLayout* grid = new TQGridLayout(parent, 11, 2, KDialog::spacingHint()); // IPTC only accept printable Ascii char. TQRegExp asciiRx("[\x20-\x7F]+$"); @@ -101,8 +101,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) // -------------------------------------------------------- - d->statusCheck = new TQCheckBox(i18n("Edit tqStatus:"), tqparent); - d->statusEdit = new KLineEdit(tqparent); + d->statusCheck = new TQCheckBox(i18n("Edit tqStatus:"), parent); + d->statusEdit = new KLineEdit(parent); d->statusEdit->setValidator(asciiValidator); d->statusEdit->setMaxLength(64); grid->addMultiCellWidget(d->statusCheck, 0, 0, 0, 2); @@ -112,8 +112,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) // -------------------------------------------------------- - d->priorityCheck = new MetadataCheckBox(i18n("Priority:"), tqparent); - d->priorityCB = new TQComboBox(false, tqparent); + d->priorityCheck = new MetadataCheckBox(i18n("Priority:"), parent); + d->priorityCB = new TQComboBox(false, parent); d->priorityCB->insertItem(i18n("0: None"), 0); d->priorityCB->insertItem(i18n("1: High"), 1); d->priorityCB->insertItem("2", 2); @@ -129,8 +129,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) // -------------------------------------------------------- - d->objectCycleCheck = new MetadataCheckBox(i18n("Object Cycle:"), tqparent); - d->objectCycleCB = new TQComboBox(false, tqparent); + d->objectCycleCheck = new MetadataCheckBox(i18n("Object Cycle:"), parent); + d->objectCycleCB = new TQComboBox(false, parent); d->objectCycleCB->insertItem(i18n("Morning"), 0); d->objectCycleCB->insertItem(i18n("Afternoon"), 1); d->objectCycleCB->insertItem(i18n("Evening"), 2); @@ -140,9 +140,9 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) // -------------------------------------------------------- - d->objectTypeCheck = new MetadataCheckBox(i18n("Object Type:"), tqparent); - d->objectTypeCB = new TQComboBox(false, tqparent); - d->objectTypeDescEdit = new KLineEdit(tqparent); + d->objectTypeCheck = new MetadataCheckBox(i18n("Object Type:"), parent); + d->objectTypeCB = new TQComboBox(false, parent); + d->objectTypeDescEdit = new KLineEdit(parent); d->objectTypeDescEdit->setValidator(asciiValidator); d->objectTypeDescEdit->setMaxLength(64); d->objectTypeCB->insertItem(i18n("News"), 0); @@ -157,9 +157,9 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) // -------------------------------------------------------- - d->objectAttributeCheck = new MetadataCheckBox(i18n("Object Attribute:"), tqparent); - d->objectAttributeCB = new TQComboBox(false, tqparent); - d->objectAttributeDescEdit = new KLineEdit(tqparent); + d->objectAttributeCheck = new MetadataCheckBox(i18n("Object Attribute:"), parent); + d->objectAttributeCB = new TQComboBox(false, parent); + d->objectAttributeDescEdit = new KLineEdit(parent); d->objectAttributeDescEdit->setValidator(asciiValidator); d->objectAttributeDescEdit->setMaxLength(64); d->objectAttributeCB->insertItem(i18n("Current"), 0); @@ -193,8 +193,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) // -------------------------------------------------------- - d->JobIDCheck = new TQCheckBox(i18n("Job Identification:"), tqparent); - d->JobIDEdit = new KLineEdit(tqparent); + d->JobIDCheck = new TQCheckBox(i18n("Job Identification:"), parent); + d->JobIDEdit = new KLineEdit(parent); d->JobIDEdit->setValidator(asciiValidator); d->JobIDEdit->setMaxLength(32); grid->addMultiCellWidget(d->JobIDCheck, 8, 8, 0, 2); @@ -209,7 +209,7 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); grid->addMultiCellWidget(note, 10, 10, 0, 2); grid->setColStretch(2, 10); diff --git a/kipi-plugins/metadataedit/iptcstatus.h b/kipi-plugins/metadataedit/iptcstatus.h index 3108a49..a28744c 100644 --- a/kipi-plugins/metadataedit/iptcstatus.h +++ b/kipi-plugins/metadataedit/iptcstatus.h @@ -40,7 +40,7 @@ class IPTCtqStatus : public TQWidget public: - IPTCtqStatus(TQWidget* tqparent); + IPTCtqStatus(TQWidget* parent); ~IPTCtqStatus(); void applyMetadata(TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/iptcsubjects.cpp b/kipi-plugins/metadataedit/iptcsubjects.cpp index 11ad303..d21a96e 100644 --- a/kipi-plugins/metadataedit/iptcsubjects.cpp +++ b/kipi-plugins/metadataedit/iptcsubjects.cpp @@ -75,11 +75,11 @@ public: KListBox *subjectsBox; }; -IPTCSubjects::IPTCSubjects(TQWidget* tqparent) - : TQWidget(tqparent) +IPTCSubjects::IPTCSubjects(TQWidget* parent) + : TQWidget(parent) { d = new IPTCSubjectsPriv; - TQGridLayout *grid = new TQGridLayout(tqparent, 5, 2, 0, KDialog::spacingHint()); + TQGridLayout *grid = new TQGridLayout(parent, 5, 2, 0, KDialog::spacingHint()); grid->tqsetAlignment( TQt::AlignTop ); // IPTC only accept printable Ascii char. @@ -88,19 +88,19 @@ IPTCSubjects::IPTCSubjects(TQWidget* tqparent) // -------------------------------------------------------- - d->subjectsCheck = new TQCheckBox(i18n("Use structured definition of the subject matter:"), tqparent); + d->subjectsCheck = new TQCheckBox(i18n("Use structured definition of the subject matter:"), parent); - d->subjectEdit = new KLineEdit(tqparent); + d->subjectEdit = new KLineEdit(parent); d->subjectEdit->setValidator(asciiValidator); d->subjectEdit->setMaxLength(236); TQWhatsThis::add(d->subjectEdit, i18n("<p>Enter here a new subject. " "This field is limited to 236 ASCII characters.")); - d->subjectsBox = new KListBox(tqparent); + d->subjectsBox = new KListBox(parent); d->subjectsBox->setVScrollBarMode(TQScrollView::AlwaysOn); - d->addSubjectButton = new TQPushButton( i18n("&Add"), tqparent); - d->delSubjectButton = new TQPushButton( i18n("&Delete"), tqparent); + d->addSubjectButton = new TQPushButton( i18n("&Add"), parent); + d->delSubjectButton = new TQPushButton( i18n("&Delete"), parent); d->addSubjectButton->setIconSet(SmallIcon("add")); d->delSubjectButton->setIconSet(SmallIcon("remove")); d->delSubjectButton->setEnabled(false); @@ -118,7 +118,7 @@ IPTCSubjects::IPTCSubjects(TQWidget* tqparent) "text tags only support the printable " "<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> " "characters set and limit strings size. " - "Use contextual help for details.</b>"), tqparent); + "Use contextual help for details.</b>"), parent); note->setMaximumWidth(150); grid->addMultiCellWidget(note, 4, 4, 1, 1); diff --git a/kipi-plugins/metadataedit/iptcsubjects.h b/kipi-plugins/metadataedit/iptcsubjects.h index 46e03f3..5b08a50 100644 --- a/kipi-plugins/metadataedit/iptcsubjects.h +++ b/kipi-plugins/metadataedit/iptcsubjects.h @@ -40,7 +40,7 @@ class IPTCSubjects : public TQWidget public: - IPTCSubjects(TQWidget* tqparent); + IPTCSubjects(TQWidget* parent); ~IPTCSubjects(); void applyMetadata(TQByteArray& iptcData); diff --git a/kipi-plugins/metadataedit/metadatacheckbox.cpp b/kipi-plugins/metadataedit/metadatacheckbox.cpp index 01a8f5d..7f5d3ca 100644 --- a/kipi-plugins/metadataedit/metadatacheckbox.cpp +++ b/kipi-plugins/metadataedit/metadatacheckbox.cpp @@ -31,8 +31,8 @@ namespace KIPIMetadataEditPlugin { -MetadataCheckBox::MetadataCheckBox(const TQString& text, TQWidget* tqparent) - : TQCheckBox(text, tqparent) +MetadataCheckBox::MetadataCheckBox(const TQString& text, TQWidget* parent) + : TQCheckBox(text, parent) { m_valid = true; diff --git a/kipi-plugins/metadataedit/metadatacheckbox.h b/kipi-plugins/metadataedit/metadatacheckbox.h index a349b58..56c65eb 100644 --- a/kipi-plugins/metadataedit/metadatacheckbox.h +++ b/kipi-plugins/metadataedit/metadatacheckbox.h @@ -40,7 +40,7 @@ class MetadataCheckBox : public TQCheckBox public: - MetadataCheckBox(const TQString& text, TQWidget* tqparent); + MetadataCheckBox(const TQString& text, TQWidget* parent); ~MetadataCheckBox(); void setValid(bool v); diff --git a/kipi-plugins/metadataedit/plugin_metadataedit.cpp b/kipi-plugins/metadataedit/plugin_metadataedit.cpp index 20fed59..d43de5a 100644 --- a/kipi-plugins/metadataedit/plugin_metadataedit.cpp +++ b/kipi-plugins/metadataedit/plugin_metadataedit.cpp @@ -55,8 +55,8 @@ typedef KGenericFactory<Plugin_MetadataEdit> Factory; K_EXPORT_COMPONENT_FACTORY( kipiplugin_metadataedit, Factory("kipiplugin_metadataedit")) -Plugin_MetadataEdit::Plugin_MetadataEdit(TQObject *tqparent, const char*, const TQStringList&) - : KIPI::Plugin( Factory::instance(), tqparent, "MetadataEdit") +Plugin_MetadataEdit::Plugin_MetadataEdit(TQObject *parent, const char*, const TQStringList&) + : KIPI::Plugin( Factory::instance(), parent, "MetadataEdit") { kdDebug( 51001 ) << "Plugin_MetadataEdit plugin loaded" << endl; } @@ -140,7 +140,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget ) addAction( m_actionMetadataEdit ); - m_interface = dynamic_cast< KIPI::Interface* >( tqparent() ); + m_interface = dynamic_cast< KIPI::Interface* >( parent() ); if ( !m_interface ) { diff --git a/kipi-plugins/metadataedit/plugin_metadataedit.h b/kipi-plugins/metadataedit/plugin_metadataedit.h index d4fd809..fde4da6 100644 --- a/kipi-plugins/metadataedit/plugin_metadataedit.h +++ b/kipi-plugins/metadataedit/plugin_metadataedit.h @@ -36,7 +36,7 @@ class Plugin_MetadataEdit : public KIPI::Plugin public: - Plugin_MetadataEdit(TQObject *tqparent, const char* name, const TQStringList &args); + Plugin_MetadataEdit(TQObject *parent, const char* name, const TQStringList &args); virtual KIPI::Category category( KAction* action ) const; virtual void setup( TQWidget* ); |