diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:55:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 11:55:18 +0900 |
commit | f57d24985e5b3c8b8c070388aedf6fa915b1c316 (patch) | |
tree | aa86157b321acf5f8fb5385aac72142500d16bdf | |
parent | 30d2f3d2750a4ddee216eb64380781e593de6b25 (diff) | |
download | tellico-f57d24985e5b3c8b8c070388aedf6fa915b1c316.tar.gz tellico-f57d24985e5b3c8b8c070388aedf6fa915b1c316.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
28 files changed, 43 insertions, 43 deletions
diff --git a/src/collectionfieldsdialog.cpp b/src/collectionfieldsdialog.cpp index 32fbda0..132f640 100644 --- a/src/collectionfieldsdialog.cpp +++ b/src/collectionfieldsdialog.cpp @@ -65,7 +65,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa setMainWidget(page); TQHBoxLayout* topLayout = new TQHBoxLayout(page, 0, KDialog::spacingHint()); - TQGroupBox* fieldsGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Current Fields"), page); + TQGroupBox* fieldsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Current Fields"), page); topLayout->addWidget(fieldsGroup, 1); m_fieldsBox = new TQListBox(fieldsGroup); m_fieldsBox->setMinimumWidth(150); @@ -109,7 +109,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa vbox->setSpacing(KDialog::spacingHint()); topLayout->addWidget(vbox, 2); - TQGroupBox* propGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Field Properties"), vbox); + TQGroupBox* propGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Properties"), vbox); TQWidget* grid = new TQWidget(propGroup); // (parent, nrows, ncols, margin, spacing) @@ -223,7 +223,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa TQWhatsThis::add(m_btnExtended, whats); connect(m_btnExtended, TQT_SIGNAL(clicked()), TQT_SLOT(slotShowExtendedProperties())); - TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Format Options"), vbox); + TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Format Options"), vbox); m_formatNone = new TQRadioButton(i18n("No formatting"), bg); TQWhatsThis::add(m_formatNone, i18n("This option prevents the field from ever being " "automatically formatted or capitalized.")); @@ -238,7 +238,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa "name, but only if those options are globally set.")); connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotModified())); - TQGroupBox* optionsGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Field Options"), vbox); + TQGroupBox* optionsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Options"), vbox); m_complete = new TQCheckBox(i18n("Enable auto-completion"), optionsGroup); TQWhatsThis::add(m_complete, i18n("If checked, TDE auto-completion will be enabled in the " "text edit box for this field.")); diff --git a/src/configdialog.cpp b/src/configdialog.cpp index adcb527..504886d 100644 --- a/src/configdialog.cpp +++ b/src/configdialog.cpp @@ -395,7 +395,7 @@ void ConfigDialog::setupTemplatePage() { // l1->setTextFormat(TQt::RichText); // l->addWidget(l1); - TQGroupBox* fontGroup = new TQGroupBox(0, Qt::Vertical, i18n("Font Options"), frame); + TQGroupBox* fontGroup = new TQGroupBox(0, TQt::Vertical, i18n("Font Options"), frame); l->addWidget(fontGroup); row = -1; @@ -422,7 +422,7 @@ void ConfigDialog::setupTemplatePage() { TQWhatsThis::add(lab, whats); TQWhatsThis::add(m_fontSizeInput, whats); - TQGroupBox* colGroup = new TQGroupBox(0, Qt::Vertical, i18n("Color Options"), frame); + TQGroupBox* colGroup = new TQGroupBox(0, TQt::Vertical, i18n("Color Options"), frame); l->addWidget(colGroup); row = -1; diff --git a/src/detailedlistview.cpp b/src/detailedlistview.cpp index 8d86262..d6eb699 100644 --- a/src/detailedlistview.cpp +++ b/src/detailedlistview.cpp @@ -377,7 +377,7 @@ Tellico::DetailedEntryItem* DetailedListView::locateItem(Data::EntryPtr entry_) bool DetailedListView::eventFilter(TQObject* obj_, TQEvent* ev_) { if(ev_->type() == TQEvent::MouseButtonPress - && TQT_TQMOUSEEVENT(ev_)->button() == Qt::RightButton + && TQT_TQMOUSEEVENT(ev_)->button() == TQt::RightButton && obj_ == header()) { m_headerMenu->popup(TQT_TQMOUSEEVENT(ev_)->globalPos()); return true; diff --git a/src/entryiconview.cpp b/src/entryiconview.cpp index 1364680..be0df9e 100644 --- a/src/entryiconview.cpp +++ b/src/entryiconview.cpp @@ -418,7 +418,7 @@ void EntryIconViewItem::paintText(TQPainter* p_, const TQColorGroup &cg_) { p_->drawRoundRect(tr, 1000/tr.width(), 1000/tr.height()); p_->setPen(TQPen(cg_.highlightedText())); } else { - if(iconView()->itemTextBackground() != Qt::NoBrush) { + if(iconView()->itemTextBackground() != TQt::NoBrush) { p_->fillRect(tr, iconView()->itemTextBackground()); } p_->setPen(cg_.text()); diff --git a/src/exportdialog.cpp b/src/exportdialog.cpp index 7ec7afe..350a011 100644 --- a/src/exportdialog.cpp +++ b/src/exportdialog.cpp @@ -50,7 +50,7 @@ ExportDialog::ExportDialog(Export::Format format_, Data::CollPtr coll_, TQWidget TQWidget* widget = new TQWidget(this); TQVBoxLayout* topLayout = new TQVBoxLayout(widget, 0, spacingHint()); - TQGroupBox* group1 = new TQGroupBox(1, Qt::Horizontal, i18n("Formatting"), widget); + TQGroupBox* group1 = new TQGroupBox(1, TQt::Horizontal, i18n("Formatting"), widget); topLayout->addWidget(group1, 0); m_formatFields = new TQCheckBox(i18n("Format all fields"), group1); m_formatFields->setChecked(false); @@ -61,7 +61,7 @@ ExportDialog::ExportDialog(Export::Format format_, Data::CollPtr coll_, TQWidget TQWhatsThis::add(m_exportSelected, i18n("If checked, only the currently selected entries will " "be exported.")); - TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Encoding"), widget); + TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Encoding"), widget); topLayout->addWidget(bg, 0); m_encodeUTF8 = new TQRadioButton(i18n("Encode in Unicode (UTF-8)"), bg); m_encodeUTF8->setChecked(true); diff --git a/src/fetchdialog.cpp b/src/fetchdialog.cpp index 15fef58..8392fab 100644 --- a/src/fetchdialog.cpp +++ b/src/fetchdialog.cpp @@ -153,7 +153,7 @@ FetchDialog::FetchDialog(TQWidget* parent_, const char* name_) connect(m_sourceCombo, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotSourceChanged(const TQString&))); TQWhatsThis::add(m_sourceCombo, i18n("Select the database to search")); - TQSplitter* split = new TQSplitter(Qt::Vertical, mainWidget); + TQSplitter* split = new TQSplitter(TQt::Vertical, mainWidget); topLayout->addWidget(split); m_listView = new GUI::ListView(split); diff --git a/src/field.cpp b/src/field.cpp index 793de90..16739b6 100644 --- a/src/field.cpp +++ b/src/field.cpp @@ -385,7 +385,7 @@ TQString Field::formatDate(const TQString& date_) { d = 1; } // rather use ISO date formatting than locale formatting for now. Primarily, it makes sorting just work. - return empty ? date_ : TQString(TQDate(y, m, d).toString(Qt::ISODate)); + return empty ? date_ : TQString(TQDate(y, m, d).toString(TQt::ISODate)); // use short form // return TDEGlobal::locale()->formatDate(date, true); } diff --git a/src/filterdialog.cpp b/src/filterdialog.cpp index ab9677c..d7dea40 100644 --- a/src/filterdialog.cpp +++ b/src/filterdialog.cpp @@ -291,7 +291,7 @@ void FilterDialog::init() { setMainWidget(page); TQVBoxLayout* topLayout = new TQVBoxLayout(page, 0, KDialog::spacingHint()); - TQGroupBox* m_matchGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Filter Criteria"), page); + TQGroupBox* m_matchGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Filter Criteria"), page); topLayout->addWidget(m_matchGroup); TQVButtonGroup* bg = new TQVButtonGroup(m_matchGroup); diff --git a/src/gui/imagewidget.cpp b/src/gui/imagewidget.cpp index c336bf7..556d93d 100644 --- a/src/gui/imagewidget.cpp +++ b/src/gui/imagewidget.cpp @@ -53,7 +53,7 @@ ImageWidget::ImageWidget(TQWidget* parent_, const char* name_) : TQWidget(parent TQVBoxLayout* boxLayout = new TQVBoxLayout(l); boxLayout->addStretch(1); - KButtonBox* box = new KButtonBox(this,Qt::Vertical); + KButtonBox* box = new KButtonBox(this,TQt::Vertical); box->addButton(i18n("Select Image..."), TQT_TQOBJECT(this), TQT_SLOT(slotGetImage())); box->addButton(i18n("Clear"), TQT_TQOBJECT(this), TQT_SLOT(slotClear())); box->layout(); @@ -176,7 +176,7 @@ void ImageWidget::slotLinkOnlyClicked() { void ImageWidget::mousePressEvent(TQMouseEvent* event_) { // Only interested in LMB - if(event_->button() == Qt::LeftButton) { + if(event_->button() == TQt::LeftButton) { // Store the position of the mouse press. // check if position is inside the label if(m_label->geometry().contains(event_->pos())) { @@ -190,7 +190,7 @@ void ImageWidget::mousePressEvent(TQMouseEvent* event_) { void ImageWidget::mouseMoveEvent(TQMouseEvent* event_) { int delay = TQApplication::startDragDistance(); // Only interested in LMB - if(event_->state() & Qt::LeftButton) { + if(event_->state() & TQt::LeftButton) { // only allow drag is the image is non-null, and the drag start point isn't null and the user dragged far enough if(!m_imageID.isEmpty() && !m_dragStart.isNull() && (m_dragStart - event_->pos()).manhattanLength() > delay) { const Data::Image& img = ImageFactory::imageById(m_imageID); diff --git a/src/gui/ratingwidget.cpp b/src/gui/ratingwidget.cpp index eda5cf7..f81b54c 100644 --- a/src/gui/ratingwidget.cpp +++ b/src/gui/ratingwidget.cpp @@ -111,7 +111,7 @@ void RatingWidget::update() { void RatingWidget::mousePressEvent(TQMouseEvent* event_) { // only react to left button - if(event_->button() != Qt::LeftButton) { + if(event_->button() != TQt::LeftButton) { return; } diff --git a/src/gui/tablefieldwidget.cpp b/src/gui/tablefieldwidget.cpp index cdaabec..113a88e 100644 --- a/src/gui/tablefieldwidget.cpp +++ b/src/gui/tablefieldwidget.cpp @@ -226,7 +226,7 @@ void TableFieldWidget::updateFieldHook(Data::FieldPtr, Data::FieldPtr newField_) bool TableFieldWidget::eventFilter(TQObject* obj_, TQEvent* ev_) { if(ev_->type() == TQEvent::MouseButtonPress - && TQT_TQMOUSEEVENT(ev_)->button() == Qt::RightButton) { + && TQT_TQMOUSEEVENT(ev_)->button() == TQt::RightButton) { if(obj_ == m_table->horizontalHeader()) { TQMouseEvent* ev = TQT_TQMOUSEEVENT(ev_); // might be scrolled diff --git a/src/importdialog.cpp b/src/importdialog.cpp index 5194f70..d78ae43 100644 --- a/src/importdialog.cpp +++ b/src/importdialog.cpp @@ -57,7 +57,7 @@ ImportDialog::ImportDialog(Import::Format format_, const KURL::List& urls_, TQWi TQWidget* widget = new TQWidget(this); TQVBoxLayout* topLayout = new TQVBoxLayout(widget, 0, spacingHint()); - TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Import Options"), widget); + TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Import Options"), widget); topLayout->addWidget(bg, 0); m_radioReplace = new TQRadioButton(i18n("&Replace current collection"), bg); TQWhatsThis::add(m_radioReplace, i18n("Replace the current collection with the contents " diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 55312b5..9c20a0d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -796,7 +796,7 @@ void MainWindow::initDocument() { void MainWindow::initView() { MARK; - m_split = new TQSplitter(Qt::Horizontal, this); + m_split = new TQSplitter(TQt::Horizontal, this); setCentralWidget(m_split); m_viewTabs = new GUI::TabControl(m_split); @@ -807,7 +807,7 @@ void MainWindow::initView() { TQWhatsThis::add(m_groupView, i18n("<qt>The <i>Group View</i> sorts the entries into groupings " "based on a selected field.</qt>")); - m_rightSplit = new TQSplitter(Qt::Vertical, m_split); + m_rightSplit = new TQSplitter(TQt::Vertical, m_split); m_detailedView = new DetailedListView(m_rightSplit, "detailedlistview"); Controller::self()->addObserver(m_detailedView); diff --git a/src/newstuff/dialog.cpp b/src/newstuff/dialog.cpp index 52a1922..58bfb64 100644 --- a/src/newstuff/dialog.cpp +++ b/src/newstuff/dialog.cpp @@ -109,7 +109,7 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_) TQFrame* frame = plainPage(); TQBoxLayout* boxLayout = new TQVBoxLayout(frame, 0, KDialog::spacingHint()); - m_split = new TQSplitter(Qt::Vertical, frame); + m_split = new TQSplitter(TQt::Vertical, frame); boxLayout->addWidget(m_split); m_listView = new GUI::ListView(m_split); diff --git a/src/newstuff/manager.cpp b/src/newstuff/manager.cpp index 9fed36e..bb8ebba 100644 --- a/src/newstuff/manager.cpp +++ b/src/newstuff/manager.cpp @@ -259,7 +259,7 @@ Tellico::NewStuff::InstallStatus Manager::installStatus(KNS::Entry* entry_) { return NotInstalled; } - TQDate date = TQDate::fromString(datestring, Qt::ISODate); + TQDate date = TQDate::fromString(datestring, TQt::ISODate); if(!date.isValid()) { return NotInstalled; } @@ -404,7 +404,7 @@ void Manager::slotInstallFinished() { // of the newstuff entry, so we can track which entries are installed // name and entry-name() are probably the same for scripts, but not a problem config.writeEntry(name, entry->name()); - config.writeEntry(entry->name(), TQString(entry->releaseDate().toString(Qt::ISODate))); + config.writeEntry(entry->name(), TQString(entry->releaseDate().toString(TQt::ISODate))); config.sync(); emit signalInstalled(entry); } else { 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); |