From f57d24985e5b3c8b8c070388aedf6fa915b1c316 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:55:18 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- src/translators/alexandriaimporter.cpp | 2 +- src/translators/bibtexexporter.cpp | 2 +- src/translators/csvexporter.cpp | 4 ++-- src/translators/csvimporter.cpp | 4 ++-- src/translators/filelistingimporter.cpp | 4 ++-- src/translators/freedbimporter.cpp | 2 +- src/translators/htmlexporter.cpp | 2 +- src/translators/onixexporter.cpp | 2 +- src/translators/pilotdbexporter.cpp | 2 +- src/translators/tellicoimporter.cpp | 4 ++-- src/translators/tellicoxmlexporter.cpp | 6 +++--- src/translators/xsltexporter.cpp | 2 +- src/translators/xsltimporter.cpp | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) (limited to 'src/translators') diff --git a/src/translators/alexandriaimporter.cpp b/src/translators/alexandriaimporter.cpp index 1f1f240..2f19d23 100644 --- a/src/translators/alexandriaimporter.cpp +++ b/src/translators/alexandriaimporter.cpp @@ -190,7 +190,7 @@ TQWidget* AlexandriaImporter::widget(TQWidget* parent_, const char* name_/*=0*/) m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(2, Qt::Horizontal, i18n("Alexandria Options"), m_widget); + TQGroupBox* box = new TQGroupBox(2, TQt::Horizontal, i18n("Alexandria Options"), m_widget); TQLabel* label = new TQLabel(i18n("&Library:"), box); m_library = new KComboBox(box); label->setBuddy(m_library); diff --git a/src/translators/bibtexexporter.cpp b/src/translators/bibtexexporter.cpp index d2cceb2..2dd64b9 100644 --- a/src/translators/bibtexexporter.cpp +++ b/src/translators/bibtexexporter.cpp @@ -198,7 +198,7 @@ TQWidget* BibtexExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("Bibtex Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("Bibtex Options"), m_widget); l->addWidget(box); m_checkExpandMacros = new TQCheckBox(i18n("Expand string macros"), box); diff --git a/src/translators/csvexporter.cpp b/src/translators/csvexporter.cpp index 7c64bf1..301f0e5 100644 --- a/src/translators/csvexporter.cpp +++ b/src/translators/csvexporter.cpp @@ -106,7 +106,7 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("CSV Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("CSV Options"), m_widget); l->addWidget(box); m_checkIncludeTitles = new TQCheckBox(i18n("Include field titles as column headers"), box); @@ -114,7 +114,7 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { TQWhatsThis::add(m_checkIncludeTitles, i18n("If checked, a header row will be added with the " "field titles.")); - TQButtonGroup* delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), box); + TQButtonGroup* delimiterGroup = new TQButtonGroup(0, TQt::Vertical, i18n("Delimiter"), box); TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(delimiterGroup->layout()); m_delimiterGroupLayout->setAlignment(TQt::AlignTop); TQWhatsThis::add(delimiterGroup, i18n("In addition to a comma, other characters may be used as " diff --git a/src/translators/csvimporter.cpp b/src/translators/csvimporter.cpp index 63032e2..57067e5 100644 --- a/src/translators/csvimporter.cpp +++ b/src/translators/csvimporter.cpp @@ -244,7 +244,7 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* group = new TQGroupBox(1, Qt::Horizontal, i18n("CSV Options"), m_widget); + TQGroupBox* group = new TQGroupBox(1, TQt::Horizontal, i18n("CSV Options"), m_widget); l->addWidget(group); TQHBox* box = new TQHBox(group); @@ -263,7 +263,7 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) { connect(m_checkFirstRowHeader, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotFirstRowHeader(bool))); TQHBox* hbox2 = new TQHBox(group); - m_delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), hbox2); + m_delimiterGroup = new TQButtonGroup(0, TQt::Vertical, i18n("Delimiter"), hbox2); TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(m_delimiterGroup->layout(), 3, 3); m_delimiterGroupLayout->setAlignment(TQt::AlignTop); TQWhatsThis::add(m_delimiterGroup, i18n("In addition to a comma, other characters may be used as " diff --git a/src/translators/filelistingimporter.cpp b/src/translators/filelistingimporter.cpp index a6d237c..e0a6c46 100644 --- a/src/translators/filelistingimporter.cpp +++ b/src/translators/filelistingimporter.cpp @@ -123,13 +123,13 @@ Tellico::Data::CollPtr FileListingImporter::collection() { if(t > 0) { TQDateTime dt; dt.setTime_t(t); - entry->setField(created, dt.toString(Qt::ISODate)); + entry->setField(created, dt.toString(TQt::ISODate)); } t = it.current()->time(TDEIO::UDS_MODIFICATION_TIME); if(t > 0) { TQDateTime dt; dt.setTime_t(t); - entry->setField(modified, dt.toString(Qt::ISODate)); + entry->setField(modified, dt.toString(TQt::ISODate)); } const KFileMetaInfo& meta = it.current()->metaInfo(); if(meta.isValid() && !meta.isEmpty()) { diff --git a/src/translators/freedbimporter.cpp b/src/translators/freedbimporter.cpp index 0397046..f5e65bc 100644 --- a/src/translators/freedbimporter.cpp +++ b/src/translators/freedbimporter.cpp @@ -486,7 +486,7 @@ TQWidget* FreeDBImporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* bigbox = new TQGroupBox(1, Qt::Horizontal, i18n("Audio CD Options"), m_widget); + TQGroupBox* bigbox = new TQGroupBox(1, TQt::Horizontal, i18n("Audio CD Options"), m_widget); // cdrom stuff TQHBox* box = new TQHBox(bigbox); diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp index 06dd757..c6aee74 100644 --- a/src/translators/htmlexporter.cpp +++ b/src/translators/htmlexporter.cpp @@ -466,7 +466,7 @@ TQWidget* HTMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("HTML Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("HTML Options"), m_widget); l->addWidget(box); m_checkPrintHeaders = new TQCheckBox(i18n("Print field headers"), box); diff --git a/src/translators/onixexporter.cpp b/src/translators/onixexporter.cpp index 43e9231..6a31912 100644 --- a/src/translators/onixexporter.cpp +++ b/src/translators/onixexporter.cpp @@ -173,7 +173,7 @@ TQWidget* ONIXExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("ONIX Archive Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("ONIX Archive Options"), m_widget); l->addWidget(box); m_checkIncludeImages = new TQCheckBox(i18n("Include images in archive"), box); diff --git a/src/translators/pilotdbexporter.cpp b/src/translators/pilotdbexporter.cpp index 74eaf2f..41216d9 100644 --- a/src/translators/pilotdbexporter.cpp +++ b/src/translators/pilotdbexporter.cpp @@ -207,7 +207,7 @@ TQWidget* PilotDBExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("PilotDB Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("PilotDB Options"), m_widget); l->addWidget(box); m_checkBackup = new TQCheckBox(i18n("Set PDA backup flag for database"), box); diff --git a/src/translators/tellicoimporter.cpp b/src/translators/tellicoimporter.cpp index d722c0c..c485966 100644 --- a/src/translators/tellicoimporter.cpp +++ b/src/translators/tellicoimporter.cpp @@ -744,11 +744,11 @@ void TellicoImporter::readBorrower(const TQDomElement& elem_) { TQDate loanDate, dueDate; TQString s = e.attribute(TQString::fromLatin1("loanDate")); if(!s.isEmpty()) { - loanDate = TQDate::fromString(s, Qt::ISODate); + loanDate = TQDate::fromString(s, TQt::ISODate); } s = e.attribute(TQString::fromLatin1("dueDate")); if(!s.isEmpty()) { - dueDate = TQDate::fromString(s, Qt::ISODate); + dueDate = TQDate::fromString(s, TQt::ISODate); } Data::LoanPtr loan = new Data::Loan(entry, loanDate, dueDate, e.text()); loan->setUID(uid); diff --git a/src/translators/tellicoxmlexporter.cpp b/src/translators/tellicoxmlexporter.cpp index de6003a..826b679 100644 --- a/src/translators/tellicoxmlexporter.cpp +++ b/src/translators/tellicoxmlexporter.cpp @@ -461,8 +461,8 @@ void TellicoXMLExporter::exportBorrowerXML(TQDomDocument& dom_, TQDomElement& pa lElem.setAttribute(TQString::fromLatin1("uid"), it->uid()); lElem.setAttribute(TQString::fromLatin1("entryRef"), it->entry()->id()); - lElem.setAttribute(TQString::fromLatin1("loanDate"), it->loanDate().toString(Qt::ISODate)); - lElem.setAttribute(TQString::fromLatin1("dueDate"), it->dueDate().toString(Qt::ISODate)); + lElem.setAttribute(TQString::fromLatin1("loanDate"), it->loanDate().toString(TQt::ISODate)); + lElem.setAttribute(TQString::fromLatin1("dueDate"), it->dueDate().toString(TQt::ISODate)); if(it->inCalendar()) { lElem.setAttribute(TQString::fromLatin1("calendar"), TQString::fromLatin1("true")); } @@ -479,7 +479,7 @@ TQWidget* TellicoXMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/) m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("Tellico XML Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Horizontal, i18n("Tellico XML Options"), m_widget); l->addWidget(box); m_checkIncludeImages = new TQCheckBox(i18n("Include images in XML document"), box); diff --git a/src/translators/xsltexporter.cpp b/src/translators/xsltexporter.cpp index 96fa7f1..6623cc4 100644 --- a/src/translators/xsltexporter.cpp +++ b/src/translators/xsltexporter.cpp @@ -71,7 +71,7 @@ TQWidget* XSLTExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* group = new TQGroupBox(1, Qt::Horizontal, i18n("XSLT Options"), m_widget); + TQGroupBox* group = new TQGroupBox(1, TQt::Horizontal, i18n("XSLT Options"), m_widget); l->addWidget(group); TQHBox* box = new TQHBox(group); diff --git a/src/translators/xsltimporter.cpp b/src/translators/xsltimporter.cpp index 0b6c387..65f22e2 100644 --- a/src/translators/xsltimporter.cpp +++ b/src/translators/xsltimporter.cpp @@ -95,7 +95,7 @@ TQWidget* XSLTImporter::widget(TQWidget* parent_, const char* name_) { m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); - TQGroupBox* box = new TQGroupBox(1, Qt::Vertical, i18n("XSLT Options"), m_widget); + TQGroupBox* box = new TQGroupBox(1, TQt::Vertical, i18n("XSLT Options"), m_widget); l->addWidget(box); (void) new TQLabel(i18n("XSLT file:"), box); -- cgit v1.2.1