diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:01:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:01:17 -0600 |
commit | 2a411f53a04f815770074b633e026a141f6fa875 (patch) | |
tree | 0408d7c0976f54b4b6d13e8fbf5d91a82cb4ff92 /src/backup.cpp | |
parent | ae6cafee5339716bd01aa6c66aa4f366bdc5d43b (diff) | |
download | basket-2a411f53a04f815770074b633e026a141f6fa875.tar.gz basket-2a411f53a04f815770074b633e026a141f6fa875.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/backup.cpp')
-rw-r--r-- | src/backup.cpp | 6 |
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(); } |