From 3907b3ff561b859970d0cc5bce012a53c864d605 Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Fri, 27 Jul 2007 12:56:11 +0000 Subject: [PATCH] Change "Test" button to "Restore" button. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5251 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/restore/restoretree.cpp | 6 +++--- bacula/src/qt-console/restore/restoretree.h | 2 +- bacula/src/qt-console/restore/restoretree.ui | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bacula/src/qt-console/restore/restoretree.cpp b/bacula/src/qt-console/restore/restoretree.cpp index a3f1210852..663cadfcdf 100644 --- a/bacula/src/qt-console/restore/restoretree.cpp +++ b/bacula/src/qt-console/restore/restoretree.cpp @@ -71,7 +71,7 @@ restoreTree::~restoreTree() void restoreTree::setupPage() { connect(refreshButton, SIGNAL(pressed()), this, SLOT(refreshButtonPushed())); - connect(testButton, SIGNAL(pressed()), this, SLOT(testButtonPushed())); + connect(restoreButton, SIGNAL(pressed()), this, SLOT(restoreButtonPushed())); connect(jobCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(jobComboChanged(int))); connect(directoryTree, SIGNAL(currentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)), this, SLOT(directoryCurrentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *))); @@ -1262,13 +1262,13 @@ void restoreTree::directorySetIcon(int operation, int change, QString &path, QTr /* * Test Button */ -void restoreTree::testButtonPushed() +void restoreTree::restoreButtonPushed() { QMultiHash versionFilesMulti; QHash fullPathDone; QHash fileIndexHash; if ((mainWin->m_rtRestore1Debug) || (mainWin->m_rtRestore2Debug) || (mainWin->m_rtRestore3Debug)) - Pmsg0(000, "In restoreTree::testButtonPushed\n"); + Pmsg0(000, "In restoreTree::restoreButtonPushed\n"); /* Use a tree widget item iterator filtering for Checked Items */ QTreeWidgetItemIterator diter(directoryTree, QTreeWidgetItemIterator::Checked); while (*diter) { diff --git a/bacula/src/qt-console/restore/restoretree.h b/bacula/src/qt-console/restore/restoretree.h index 9077ce6a4f..a2e833c708 100644 --- a/bacula/src/qt-console/restore/restoretree.h +++ b/bacula/src/qt-console/restore/restoretree.h @@ -60,7 +60,7 @@ public: private slots: void refreshButtonPushed(); - void testButtonPushed(); + void restoreButtonPushed(); void jobComboChanged(int); void directoryCurrentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *); void fileCurrentItemChanged(QTableWidgetItem *,QTableWidgetItem *); diff --git a/bacula/src/qt-console/restore/restoretree.ui b/bacula/src/qt-console/restore/restoretree.ui index 85ea98e153..fc2eb680ff 100644 --- a/bacula/src/qt-console/restore/restoretree.ui +++ b/bacula/src/qt-console/restore/restoretree.ui @@ -83,9 +83,9 @@ - + - Test + Restore -- 2.39.5