summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 15:26:29 +0900
committerMichele Calgaro <[email protected]>2023-11-05 15:26:29 +0900
commit20e2fd1f63eb136c28500def9054da66b6ace555 (patch)
tree6f139ce8c10120faafb6f95252655f9a52b7b411
parentfb249e2aa29995696ac376f86b01a48559dad49c (diff)
downloadkeep-20e2fd1f63eb136c28500def9054da66b6ace555.tar.gz
keep-20e2fd1f63eb136c28500def9054da66b6ace555.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--keep/app/restorebackupwizard.cpp4
-rw-r--r--keep/common/incrementlistviewitem.cpp2
-rw-r--r--keep/kded/keepkded.cpp2
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<TQDateTime> 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) )
{