Salome HOME
Copyright update 2020
[modules/gui.git] / tools / dlgfactory / GenericDialog.cxx
index d0e935b06c4e3ee19d8d7c0f23ca9cc4dc98b840..167443f5b423c3a362a3e4597eca3acb3eb59972 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2011-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -18,8 +18,9 @@
 //
 
 #include "GenericDialog.h"
+#include <QDebug>
 
-GenericDialog::GenericDialog(QDialog *parent) : QDialog(parent)
+GenericDialog::GenericDialog(QDialogparent) : QDialog(parent)
 {
   ui.setupUi(this); // A faire en premier
   
@@ -32,16 +33,14 @@ GenericDialog::GenericDialog(QDialog *parent) : QDialog(parent)
   // buttonbox (inherited features) 
 }
 
-QFrame * GenericDialog::getPanel() {
+QFrame* GenericDialog::getPanel() {
   return ui.centralPanel;
 }
 
-QDialogButtonBox * GenericDialog::getButtonBox() {
+QDialogButtonBox* GenericDialog::getButtonBox() {
   return ui.buttonBox;
 }
 
-
-#include <QDebug>
 void GenericDialog::accept() {
   qDebug() << "accept() is not implemented yet";
   QDialog::accept();