diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:47:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:47:05 +0900 |
commit | 66f17b6eee82e6f7d0a2cdf680b216ace793ba37 (patch) | |
tree | a9b2ab48bc1ae492566981faebfa6ca5a085d0e9 /keep/app/keepmainwindow.cpp | |
parent | 4586cddf97dd23aed6b0693b5a48f13013a7221c (diff) | |
download | keep-66f17b6eee82e6f7d0a2cdf680b216ace793ba37.tar.gz keep-66f17b6eee82e6f7d0a2cdf680b216ace793ba37.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'keep/app/keepmainwindow.cpp')
-rw-r--r-- | keep/app/keepmainwindow.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/keep/app/keepmainwindow.cpp b/keep/app/keepmainwindow.cpp index 4fde34f..2b3a1b3 100644 --- a/keep/app/keepmainwindow.cpp +++ b/keep/app/keepmainwindow.cpp @@ -78,26 +78,26 @@ KeepMainWindow::~KeepMainWindow() void KeepMainWindow::initActions() { - KStdAction::quit(this, TQT_SLOT(close()), actionCollection()); - new TDEAction( i18n("Check rdiff-backup"), "application-vnd.tde.info", "", this, TQT_SLOT(slotCheckRDB()), actionCollection(), "check_rdiff-backup" ); - new TDEAction( i18n("Configure backups"), "configure", "", this, TQT_SLOT(slotConfigureBackup()), actionCollection(), "configure_backups" ); - new TDEAction( i18n("Configure"), "configure", "", this, TQT_SLOT(slotConfigure()), actionCollection(), "configure_keep" ); - new TDEAction( i18n("Add Backup"), "add_backup", "", this, TQT_SLOT(slotAddBackupWizard()), actionCollection(), "add_backup" ); - new TDEAction( i18n("Restore Backup"), "restore_dir", "", this, TQT_SLOT(slotRestoreBackupWizard()), actionCollection(), "restore_backup" ); - new TDEAction( i18n("Backup Now"), "force_backup", "", this, TQT_SLOT(slotForceBackup()), actionCollection(), "force_backup" ); - new TDEAction( i18n("View log"), "text-x-log", "", this, TQT_SLOT(slotViewLog()), actionCollection(), "view_log"); + KStdAction::quit(this, TQ_SLOT(close()), actionCollection()); + new TDEAction( i18n("Check rdiff-backup"), "application-vnd.tde.info", "", this, TQ_SLOT(slotCheckRDB()), actionCollection(), "check_rdiff-backup" ); + new TDEAction( i18n("Configure backups"), "configure", "", this, TQ_SLOT(slotConfigureBackup()), actionCollection(), "configure_backups" ); + new TDEAction( i18n("Configure"), "configure", "", this, TQ_SLOT(slotConfigure()), actionCollection(), "configure_keep" ); + new TDEAction( i18n("Add Backup"), "add_backup", "", this, TQ_SLOT(slotAddBackupWizard()), actionCollection(), "add_backup" ); + new TDEAction( i18n("Restore Backup"), "restore_dir", "", this, TQ_SLOT(slotRestoreBackupWizard()), actionCollection(), "restore_backup" ); + new TDEAction( i18n("Backup Now"), "force_backup", "", this, TQ_SLOT(slotForceBackup()), actionCollection(), "force_backup" ); + new TDEAction( i18n("View log"), "text-x-log", "", this, TQ_SLOT(slotViewLog()), actionCollection(), "view_log"); } void KeepMainWindow::initConnections() { - connect( m_actionView->m_btnAddWizard, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotAddBackupWizard() ) ); - connect( m_actionView->m_btnRestoreWizard, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotRestoreBackupWizard() ) ); - connect( m_actionView->m_btnForce, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotForceBackup() ) ); - connect( m_actionView->m_btnBackupConfig, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotConfigureBackup() ) ); - connect( m_actionView->m_btnLog, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotViewLog() ) ); - connect( m_actionView->m_btnLoadDaemon, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotLoadDaemon() ) ); - connect( m_actionView->m_btnUnloadDaemon, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotUnloadDaemon() ) ); - connect( m_actionView->m_btnReloadDaemon, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotReloadDaemon() ) ); + connect( m_actionView->m_btnAddWizard, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotAddBackupWizard() ) ); + connect( m_actionView->m_btnRestoreWizard, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotRestoreBackupWizard() ) ); + connect( m_actionView->m_btnForce, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotForceBackup() ) ); + connect( m_actionView->m_btnBackupConfig, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotConfigureBackup() ) ); + connect( m_actionView->m_btnLog, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotViewLog() ) ); + connect( m_actionView->m_btnLoadDaemon, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotLoadDaemon() ) ); + connect( m_actionView->m_btnUnloadDaemon, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotUnloadDaemon() ) ); + connect( m_actionView->m_btnReloadDaemon, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotReloadDaemon() ) ); } void KeepMainWindow::slotRefreshGUI() @@ -169,7 +169,7 @@ void KeepMainWindow::slotConfigure() void KeepMainWindow::slotAddBackupWizard() { AddBackupWizard *addBackupWizard = new AddBackupWizard(this, "addBackupWizard"); - connect( addBackupWizard, TQT_SIGNAL( backupSetted(Backup)), this, TQT_SLOT( slotAddBackup(Backup) ) ); + connect( addBackupWizard, TQ_SIGNAL( backupSetted(Backup)), this, TQ_SLOT( slotAddBackup(Backup) ) ); addBackupWizard->show(); } |