Salome HOME
Remove QT4 compatibility.
[modules/gui.git] / src / Qtx / QtxTranslator.h
index 745aa8ef1c52a7eae9cca5f08e58cb28c7600c67..1ecdff538ba9840418ee8e7baae6e3eb4dc042a5 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #ifndef QTXTRANSLATOR_H
 #define QTXTRANSLATOR_H
 
+#include "Qtx.h"
+
 #include <QTranslator>
 
-class QtxTranslator : public QTranslator
+class QTX_EXPORT QtxTranslator : public QTranslator
 {
 public:
   QtxTranslator( QObject* parent = 0 );
   ~QtxTranslator();
-  virtual QString translate( const char*, const char*, const char* = 0 ) const;
+  virtual QString translate( const char*, const char*, const char* = 0, int = -1 ) const;
 };
 
 #endif