]> git.sur5r.net Git - bacula/bacula/commitdiff
Change "Test" button to "Restore" button.
authorDirk H Bartley <dbartley@schupan.com>
Fri, 27 Jul 2007 12:56:11 +0000 (12:56 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Fri, 27 Jul 2007 12:56:11 +0000 (12:56 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5251 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/restore/restoretree.cpp
bacula/src/qt-console/restore/restoretree.h
bacula/src/qt-console/restore/restoretree.ui

index a3f12108524252b8864ac173652d85f1d75667c3..663cadfcdf4ad0961b0ec2ee8c52c166ffdd48b1 100644 (file)
@@ -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<int, QString> versionFilesMulti;
    QHash <QString, bool> fullPathDone;
    QHash <QString, int> 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) {
index 9077ce6a4fd8ce4e7ba93e04f9e4a3d676830875..a2e833c70887781b45a453254d877597799bf41c 100644 (file)
@@ -60,7 +60,7 @@ public:
 
 private slots:
    void refreshButtonPushed();
-   void testButtonPushed();
+   void restoreButtonPushed();
    void jobComboChanged(int);
    void directoryCurrentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);
    void fileCurrentItemChanged(QTableWidgetItem *,QTableWidgetItem *);
index 85ea98e153ca8b57d5d89fe735d0d3d24bdac869..fc2eb680ffb79f6bc8e473d6be3b044bb9b5511b 100644 (file)
@@ -83,9 +83,9 @@
         </spacer>
        </item>
        <item>
-        <widget class="QPushButton" name="testButton" >
+        <widget class="QPushButton" name="restoreButton" >
          <property name="text" >
-          <string>Test</string>
+          <string>Restore</string>
          </property>
         </widget>
        </item>