summaryrefslogtreecommitdiffstats
path: root/tdefilereplace
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:40 +0900
commit007026cdc4d51e217ce6317b87c0ff2b2d120c83 (patch)
treee44642c9aa2755473430d44da4e3ce6d7a892fc8 /tdefilereplace
parenta2da8d06203ef630594a41222c0c3a16bedb86c4 (diff)
downloadtdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.tar.gz
tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefilereplace')
-rw-r--r--tdefilereplace/commandengine.cpp4
-rw-r--r--tdefilereplace/knewprojectdlg.cpp8
-rw-r--r--tdefilereplace/report.cpp4
-rw-r--r--tdefilereplace/tdefilereplacelib.cpp4
-rw-r--r--tdefilereplace/tdefilereplaceview.cpp2
5 files changed, 11 insertions, 11 deletions
diff --git a/tdefilereplace/commandengine.cpp b/tdefilereplace/commandengine.cpp
index 5184773..81feb0f 100644
--- a/tdefilereplace/commandengine.cpp
+++ b/tdefilereplace/commandengine.cpp
@@ -34,9 +34,9 @@ TQString CommandEngine::datetime(const TQString& opt, const TQString& arg)
{
Q_UNUSED(arg);
if(opt == "iso")
- return TQDateTime::currentDateTime(Qt::LocalTime).toString(Qt::ISODate);
+ return TQDateTime::currentDateTime(TQt::LocalTime).toString(TQt::ISODate);
if(opt == "local")
- return TQDateTime::currentDateTime(Qt::LocalTime).toString(Qt::LocalDate);
+ return TQDateTime::currentDateTime(TQt::LocalTime).toString(TQt::LocalDate);
return TQString();
}
diff --git a/tdefilereplace/knewprojectdlg.cpp b/tdefilereplace/knewprojectdlg.cpp
index 5119d2c..69ffda3 100644
--- a/tdefilereplace/knewprojectdlg.cpp
+++ b/tdefilereplace/knewprojectdlg.cpp
@@ -315,7 +315,7 @@ void KNewProjectDlg::loadDateAccessOptions()
else
{
m_chbDateMin->setChecked(true);
- m_dedDateMin->setDate(TQDate::fromString(date,Qt::ISODate));
+ m_dedDateMin->setDate(TQDate::fromString(date,TQt::ISODate));
m_dedDateMin->setEnabled(true);
}
@@ -329,7 +329,7 @@ void KNewProjectDlg::loadDateAccessOptions()
else
{
m_chbDateMax->setChecked(true);
- m_dedDateMax->setDate(TQDate::fromString(date,Qt::ISODate));
+ m_dedDateMax->setDate(TQDate::fromString(date,TQt::ISODate));
m_dedDateMax->setEnabled(true);
}
@@ -420,7 +420,7 @@ void KNewProjectDlg::saveDateAccessOptions()
if(m_chbDateMin->isChecked())
{
- TQString date = m_dedDateMin->date().toString(Qt::ISODate);
+ TQString date = m_dedDateMin->date().toString(TQt::ISODate);
m_option->m_minDate = date;
}
else
@@ -428,7 +428,7 @@ void KNewProjectDlg::saveDateAccessOptions()
if(m_chbDateMax->isChecked())
{
- TQString date = m_dedDateMax->date().toString(Qt::ISODate);
+ TQString date = m_dedDateMax->date().toString(TQt::ISODate);
m_option->m_maxDate = date;
}
else
diff --git a/tdefilereplace/report.cpp b/tdefilereplace/report.cpp
index 3be703e..6a8f6b5 100644
--- a/tdefilereplace/report.cpp
+++ b/tdefilereplace/report.cpp
@@ -44,8 +44,8 @@ void Report::createReportFile()
// b) Write the header of the XML file
- TQDateTime datetime = TQDateTime::currentDateTime(Qt::LocalTime);
- TQString dateString = datetime.toString(Qt::LocalDate);
+ TQDateTime datetime = TQDateTime::currentDateTime(TQt::LocalTime);
+ TQString dateString = datetime.toString(TQt::LocalDate);
KUser user;
TQString columnTextFour,
columnReplaceWith;
diff --git a/tdefilereplace/tdefilereplacelib.cpp b/tdefilereplace/tdefilereplacelib.cpp
index 90c8ef4..33e0bb3 100644
--- a/tdefilereplace/tdefilereplacelib.cpp
+++ b/tdefilereplace/tdefilereplacelib.cpp
@@ -118,9 +118,9 @@ bool TDEFileReplaceLib::isAnAccessibleFile(const TQString& filePath, const TQStr
// Avoid files that not match access date requirements
TQString last = "unknown";
if(dateAccess == "Last Writing Access")
- last = fi.lastModified().toString(Qt::ISODate);
+ last = fi.lastModified().toString(TQt::ISODate);
if(dateAccess == "Last Reading Access")
- last = fi.lastRead().toString(Qt::ISODate);
+ last = fi.lastRead().toString(TQt::ISODate);
if(last != "unknown")
{
diff --git a/tdefilereplace/tdefilereplaceview.cpp b/tdefilereplace/tdefilereplaceview.cpp
index 87d6482..b7cd78c 100644
--- a/tdefilereplace/tdefilereplaceview.cpp
+++ b/tdefilereplace/tdefilereplaceview.cpp
@@ -220,7 +220,7 @@ void TDEFileReplaceView::slotResultMouseButtonClicked(int button, TQListViewItem
if (lvi == 0) // No item selected
return;
- if (button == Qt::RightButton)
+ if (button == TQt::RightButton)
{
// Right mouse button: open popup menub
m_menuResult->popup(pos);