diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:53:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 11:53:32 +0900 |
commit | ac30f16b60532c3d1ff474177bb36a073d51ceb4 (patch) | |
tree | 7c9ddd8632cb6258980bb5e04ad69482ded38c82 /src/backup.cpp | |
parent | 5665df9602807d84c8de673a2b4101f2e3a9fd89 (diff) | |
download | basket-ac30f16b60532c3d1ff474177bb36a073d51ceb4.tar.gz basket-ac30f16b60532c3d1ff474177bb36a073d51ceb4.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/backup.cpp')
-rw-r--r-- | src/backup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backup.cpp b/src/backup.cpp index bdc52ea..8992a78 100644 --- a/src/backup.cpp +++ b/src/backup.cpp @@ -68,7 +68,7 @@ BackupDialog::BackupDialog(TQWidget *parent, const char *name) TQString savesFolder = Global::savesFolder(); savesFolder = savesFolder.left(savesFolder.length() - 1); // savesFolder ends with "/" - TQGroupBox *folderGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Save Folder"), page); + TQGroupBox *folderGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Save Folder"), page); new TQLabel("<qt><nobr>" + i18n("Your baskets are currently stored in that folder:<br><b>%1</b>").arg(savesFolder), folderGroup); TQWidget *folderWidget = new TQWidget(folderGroup); TQHBoxLayout *folderLayout = new TQHBoxLayout(folderWidget, 0, spacingHint()); @@ -92,7 +92,7 @@ BackupDialog::BackupDialog(TQWidget *parent, const char *name) connect( moveFolder, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveToAnotherFolder()) ); connect( useFolder, TQT_SIGNAL(clicked()), this, TQT_SLOT(useAnotherExistingFolder()) ); - TQGroupBox *backupGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Backups"), page); + TQGroupBox *backupGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Backups"), page); TQWidget *backupWidget = new TQWidget(backupGroup); TQHBoxLayout *backupLayout = new TQHBoxLayout(backupWidget, 0, spacingHint()); TQPushButton *backupButton = new TQPushButton(i18n("&Backup..."), backupWidget); @@ -118,7 +118,7 @@ void BackupDialog::populateLastBackup() { TQString lastBackupText = i18n("Last backup: never"); if (Settings::lastBackup().isValid()) - lastBackupText = i18n("Last backup: %1").arg(Settings::lastBackup().toString(Qt::LocalDate)); + lastBackupText = i18n("Last backup: %1").arg(Settings::lastBackup().toString(TQt::LocalDate)); m_lastBackup->setText(lastBackupText); } @@ -174,7 +174,7 @@ void BackupDialog::backup() config->setGroup("Backups"); TQString folder = config->readEntry("lastFolder", TQDir::homeDirPath()) + "/"; TQString fileName = i18n("Backup filename (without extension), %1 is the date", "Baskets_%1") - .arg(TQDate::currentDate().toString(Qt::ISODate)); + .arg(TQDate::currentDate().toString(TQt::ISODate)); TQString url = folder + fileName; // Ask a file name & path to the user: |