summaryrefslogtreecommitdiffstats
path: root/src/backup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backup.cpp')
-rw-r--r--src/backup.cpp8
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: