From 96f327c14acd697b936e88289165e0edb57d7fb6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:29:10 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp | 4 ++-- kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | 2 +- kate/insertcommand/plugin_kateinsertcommand.cpp | 2 +- kate/snippets/plugin_katesnippets.cpp | 4 ++-- kate/tabbarextension/plugin_katetabbarextension.cpp | 18 +++++++++--------- kate/tabbarextension/plugin_katetabbarextension.h | 12 ++++++------ kicker-applets/kbinaryclock/kbinaryclock.cpp | 6 +++--- kicker-applets/kolourpicker/kolourpicker.cpp | 2 +- kicker-applets/kolourpicker/simplebutton.cpp | 4 ++-- kicker-applets/kolourpicker/simplebutton.h | 4 ++-- kicker-applets/ktimemon/confdlg.cpp | 2 +- kicker-applets/ktimemon/timemon.cpp | 6 +++--- kicker-applets/math/mathapplet.cpp | 6 +++--- kicker-applets/mediacontrol/mcslider.cpp | 4 ++-- kicker-applets/mediacontrol/mcslider.h | 2 +- kicker-applets/mediacontrol/mediacontrol.cpp | 16 ++++++++-------- kicker-applets/mediacontrol/simplebutton.cpp | 4 ++-- kicker-applets/mediacontrol/simplebutton.h | 4 ++-- konq-plugins/fsview/treemap.cpp | 4 ++-- konq-plugins/fsview/treemap.h | 8 ++++---- konq-plugins/sidebar/delicious/mainWidget.cpp | 2 +- konq-plugins/sidebar/mediaplayer/controls.cpp | 12 ++++++------ konq-plugins/sidebar/mediaplayer/controls.h | 4 ++-- konq-plugins/sidebar/metabar/src/configdialog.cpp | 6 +++--- konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 2 +- ksig/ksig.cpp | 2 +- noatun-plugins/alarm/wakeup.cpp | 2 +- noatun-plugins/alsaplayer/seeker.cpp | 2 +- noatun-plugins/alsaplayer/userinterface.cpp | 2 +- noatun-plugins/charlatan/seeker.cpp | 2 +- noatun-plugins/charlatan/userinterface.cpp | 2 +- noatun-plugins/lyrics/cmodule.cpp | 2 +- noatun-plugins/nexscope/gui.cpp | 2 +- noatun-plugins/nexscope/renderers.h | 2 +- noatun-plugins/oblique/cmodule.cpp | 2 +- 35 files changed, 80 insertions(+), 80 deletions(-) diff --git a/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp b/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp index 41399ea..bccf776 100644 --- a/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp +++ b/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp @@ -59,7 +59,7 @@ static bool checkDateTime( const TQString &dateStr, TQDateTime &dt ) { if (dateStr.isEmpty()) return false; - dt = TQDateTime::fromString(dateStr, Qt::ISODate); + dt = TQDateTime::fromString(dateStr, TQt::ISODate); if (dt.isValid() && dt.date().year()>1901) return true; dt.setDate(TQDate()); @@ -244,7 +244,7 @@ static const TQString dateString( const TQDateTime &dt ) { if (!dt.isValid()) return TQString::fromLatin1("1000-01-01 00:00:00"); - TQString d(dt.toString(Qt::ISODate)); + TQString d(dt.toString(TQt::ISODate)); d[10] = ' '; // remove the "T" in the middle of the string return d; } diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp index 3de7fa2..a8175d2 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp @@ -315,7 +315,7 @@ KatePluginSymbolViewerConfigPage::KatePluginSymbolViewerConfigPage( TQGroupBox* gb = new TQGroupBox( i18n("Parser Options"), this, "cppsymbolviewer_config_page_layout" ); - gb->setColumnLayout(1, Qt::Horizontal); + gb->setColumnLayout(1, TQt::Horizontal); gb->setInsideSpacing(KDialogBase::spacingHint()); viewReturns = new TQCheckBox(i18n("Display functions parameters"), gb); expandTree = new TQCheckBox(i18n("Automatically expand nodes in tree mode"), gb); diff --git a/kate/insertcommand/plugin_kateinsertcommand.cpp b/kate/insertcommand/plugin_kateinsertcommand.cpp index 37b72c3..cdbe0a2 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.cpp +++ b/kate/insertcommand/plugin_kateinsertcommand.cpp @@ -385,7 +385,7 @@ InsertCommandConfigPage::InsertCommandConfigPage(TQObject* /*parent*/, // dir history length // initial dir choice - rg_startin = new TQButtonGroup( 1, Qt::Horizontal, i18n("Start In"), this ); + rg_startin = new TQButtonGroup( 1, TQt::Horizontal, i18n("Start In"), this ); rg_startin->setRadioButtonExclusive( true ); (void) new TQRadioButton( i18n("Application &working folder"), rg_startin); (void) new TQRadioButton( i18n("&Document folder"), rg_startin); diff --git a/kate/snippets/plugin_katesnippets.cpp b/kate/snippets/plugin_katesnippets.cpp index d895989..856cfbc 100644 --- a/kate/snippets/plugin_katesnippets.cpp +++ b/kate/snippets/plugin_katesnippets.cpp @@ -171,8 +171,8 @@ void KatePluginSnippetsView::slot_lvSnippetsClicked (TQListViewItem * item) { } sText.replace( TQRegExp(""), sSelection ); - sText.replace( TQRegExp(""), TQDate::currentDate().toString(Qt::LocalDate) ); - sText.replace( TQRegExp("