]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/pages.h
Add Phil Stracchino's fix for Qt5
[bacula/bacula] / bacula / src / qt-console / pages.h
index c3e3280f8bf5727665d80afb673aceb1fdf08e2a..fe4a84facc20e2bd09a908ed4cfa79672b22d4dd 100644 (file)
@@ -1,25 +1,33 @@
 #ifndef _PAGES_H_
 #define _PAGES_H_
 /*
-   Bacula® - The Network Backup Solution
+   Bacula(R) - The Network Backup Solution
 
-   Copyright (C) 2007-2014 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2017 Kern Sibbald
 
-   The main author of Bacula is Kern Sibbald, with contributions from many
-   others, a complete list can be found in the file AUTHORS.
+   The original author of Bacula is Kern Sibbald, with contributions
+   from many others, a complete list can be found in the file AUTHORS.
 
    You may use this file and others of this release according to the
    license defined in the LICENSE file, which includes the Affero General
    Public License, v3.0 ("AGPLv3") and some additional permissions and
    terms pursuant to its AGPLv3 Section 7.
 
-   Bacula® is a registered trademark of Kern Sibbald.
+   This notice must be preserved when any source code is 
+   conveyed and/or propagated.
+
+   Bacula(R) is a registered trademark of Kern Sibbald.
 */
 /*
  *   Dirk Bartley, March 2007
  */
 
+#include <QtGlobal>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#else
 #include <QtGui>
+#endif
 #include <QList>
 
 /*
@@ -31,7 +39,7 @@
  *  of or into the stack.  It also provides virtual functions called
  *  from in mainwin so that subclasses can contain functions to allow them
  *  to populate the screens at the time of first viewing, (when selected) as
- *  opposed to  the first creation of the console connection.  The
+ *  opposed to  the first creation of the console connection.  The 
  *  console is not connected until after the page selector tree has been
  *  populated.
  */
@@ -40,6 +48,8 @@ class Console;
 
 class Pages : public QWidget
 {
+   Q_OBJECT
+
 public:
    /* methods */
    Pages();