summaryrefslogtreecommitdiffstats
path: root/src/backup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backup.cpp')
-rw-r--r--src/backup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backup.cpp b/src/backup.cpp
index 86ae3c6..d49313a 100644
--- a/src/backup.cpp
+++ b/src/backup.cpp
@@ -103,7 +103,7 @@ BackupDialog::BackupDialog(TQWidget *parent, const char *name)
populateLastBackup();
- (new TQWidget(page))->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ (new TQWidget(page))->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
}
BackupDialog::~BackupDialog()
@@ -170,7 +170,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")
- .tqarg(TQDate::tqcurrentDate().toString(Qt::ISODate));
+ .tqarg(TQDate::currentDate().toString(Qt::ISODate));
TQString url = folder + fileName;
// Ask a file name & path to the user:
@@ -216,7 +216,7 @@ void BackupDialog::backup()
usleep(300); // Not too long because if the backup process is finished, we wait for nothing
}
- Settings::setLastBackup(TQDate::tqcurrentDate());
+ Settings::setLastBackup(TQDate::currentDate());
Settings::saveConfig();
populateLastBackup();
}