Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 20e2fd1f63)
r14.1.x
Michele Calgaro 1 year ago
parent da029309f7
commit 15c4aae718
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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" );
}

@ -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) );
}

@ -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) )
{

Loading…
Cancel
Save