]> git.sur5r.net Git - bacula/bacula/commitdiff
add StringList to handle locations, volstatus and mediatypes
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 20 Oct 2009 18:56:39 +0000 (18:56 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 20 Oct 2009 18:56:39 +0000 (18:56 +0000)
bacula/src/qt-console/console/console.cpp
bacula/src/qt-console/console/console.h

index f1075948640c40b06236b2423b5c2139419c4d6a..7f56dd9aefee45e207496256e9d6c8fafce55e3f 100644 (file)
@@ -166,6 +166,8 @@ void Console::populateLists(int conn)
    storage_list.clear();
    type_list.clear();
    level_list.clear();
+   volstatus_list.clear();
+   mediatype_list.clear();
    dir_cmd(conn, ".jobs", job_list);
    dir_cmd(conn, ".clients", client_list);
    dir_cmd(conn, ".filesets", fileset_list);  
@@ -174,6 +176,9 @@ void Console::populateLists(int conn)
    dir_cmd(conn, ".storage", storage_list);
    dir_cmd(conn, ".types", type_list);
    dir_cmd(conn, ".levels", level_list);
+   dir_cmd(conn, ".volstatus", volstatus_list);
+   dir_cmd(conn, ".mediatypes", mediatype_list);
+   dir_cmd(conn, ".locations", location_list);
 
    if (mainWin->m_connDebug) {
       QString dbgmsg = QString("jobs=%1 clients=%2 filesets=%3 msgs=%4 pools=%5 storage=%6 types=%7 levels=%8 conn=%9 %10\n")
index d408bba0a86239774c23472b469af3a5407484fb..3d4676b1dbcd5d23612ed2d273d02c2d70944314 100644 (file)
@@ -134,6 +134,9 @@ public:
    QStringList storage_list;
    QStringList type_list;
    QStringList level_list;
+   QStringList volstatus_list;
+   QStringList mediatype_list;
+   QStringList location_list;
 
 public slots:
    void connect_dir();