From 20e2fd1f63eb136c28500def9054da66b6ace555 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 15:26:29 +0900 Subject: [PATCH] Replace Qt with TQt Signed-off-by: Michele Calgaro --- keep/app/restorebackupwizard.cpp | 4 ++-- keep/common/incrementlistviewitem.cpp | 2 +- keep/kded/keepkded.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keep/app/restorebackupwizard.cpp b/keep/app/restorebackupwizard.cpp index a29ecb3..c503d44 100644 --- a/keep/app/restorebackupwizard.cpp +++ b/keep/app/restorebackupwizard.cpp @@ -118,7 +118,7 @@ void RestoreBackupWizard::slotPage1Changed() { RDBManager manager; TQDateTime lastBackup = manager.lastIncrement(b); - restoreBackupWizard3View->lblLastBackup->setText(lastBackup.toString(Qt::LocalDate)); + restoreBackupWizard3View->lblLastBackup->setText(lastBackup.toString(TQt::LocalDate)); TQValueList increments = manager.incrementList(b); if ( increments.size() != 0 ) { @@ -222,7 +222,7 @@ void RestoreBackupWizard::setupPage3() restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View"); restoreBackupWizard3View->incrementList->setSorting(0,false); - restoreBackupWizard3View->lblDate->setText(TQDateTime::currentDateTime().toString(Qt::LocalDate)); + restoreBackupWizard3View->lblDate->setText(TQDateTime::currentDateTime().toString(TQt::LocalDate)); addPage( page3, "Date to restore" ); } diff --git a/keep/common/incrementlistviewitem.cpp b/keep/common/incrementlistviewitem.cpp index 49af95f..8aca13a 100644 --- a/keep/common/incrementlistviewitem.cpp +++ b/keep/common/incrementlistviewitem.cpp @@ -50,7 +50,7 @@ void IncrementListViewItem::setDate(TQDateTime date) void IncrementListViewItem::setDateText() { - setText(0, m_date.toString(Qt::LocalDate) ); + setText(0, m_date.toString(TQt::LocalDate) ); } diff --git a/keep/kded/keepkded.cpp b/keep/kded/keepkded.cpp index 6e99712..e6ff8e5 100644 --- a/keep/kded/keepkded.cpp +++ b/keep/kded/keepkded.cpp @@ -72,7 +72,7 @@ void KeepKded::slotBackupSuccess(Backup backup) void KeepKded::log(TQString type,TQString backup,TQString message) { - TQString logMessage = TQDateTime::currentDateTime().toString(Qt::ISODate) + "\t" + type + "\t" + backup + "\t" + message; + TQString logMessage = TQDateTime::currentDateTime().toString(TQt::ISODate) + "\t" + type + "\t" + backup + "\t" + message; TQFile file( m_logFilePath ); if ( file.open(IO_WriteOnly | IO_Append) ) {