class PyConsole_EnhInterp;
class QMenu;
-//PYCONSOLE_EXPORT
-class PyConsole_Console : public QWidget//, public SUIT_PopupClient
+class PYCONSOLE_EXPORT PyConsole_Console : public QWidget//, public SUIT_PopupClient
{
Q_OBJECT
* Similar to PyConsole_Console except that an enhanced interpreter and enhanced editor
* are encapsulated.
*/
-//PYCONSOLE_EXPORT
-class PyConsole_EnhConsole: public PyConsole_Console
+//
+class PYCONSOLE_EXPORT PyConsole_EnhConsole: public PyConsole_Console
{
Q_OBJECT
class PyInterp_Request;
class QEventLoop;
-//PYCONSOLE_EXPORT
-class PyConsole_Editor : public QTextEdit
+class PYCONSOLE_EXPORT PyConsole_Editor : public QTextEdit
{
Q_OBJECT;
/**
* Enhanced Python editor handling tab completion.
*/
-//PYCONSOLE_EXPORT
-class PyConsole_EnhEditor: public PyConsole_Editor
+class PYCONSOLE_EXPORT PyConsole_EnhEditor: public PyConsole_Editor
{
Q_OBJECT;
* Enhanced Python interpreter used for auto-completion.
* This extends PyConsole_Interp with an API wrapping the Python dir() command nicely.
*/
-//PYCONSOLE_EXPORT
-class PyConsole_EnhInterp: public PyConsole_Interp
+class PYCONSOLE_EXPORT PyConsole_EnhInterp: public PyConsole_Interp
{
public:
PyConsole_EnhInterp()
#include <PyInterp_Interp.h> /// !!! WARNING !!! THIS INCLUDE MUST BE VERY FIRST !!!
-//PYCONSOLE_EXPORT
-class PyConsole_Interp : public PyInterp_Interp
+class PYCONSOLE_EXPORT PyConsole_Interp : public PyInterp_Interp
{
public:
PyConsole_Interp();
//! SALOME custom event type
#define PyEvent_EVENT QEvent::Type( QEvent::User + 10000 )
-// PYEVENT_EXPORT
-class PyEvent_CustomEvent : public QEvent
+class PYEVENT_EXPORT PyEvent_CustomEvent : public QEvent
{
public:
PyEvent_CustomEvent( int type );
class QSemaphore;
-//PYEVENT_EXPORT
-class PyEvent_Event
+class PYEVENT_EXPORT PyEvent_Event
{
public:
PyEvent_Event();
This event filter can be installed by any application that intends to use PyEvent_Event mechanism asynchronously.
This class replaced SalomeApp_EventFilter.
*/
-//PYEVENT_EXPORT
-class PyEvent_EventFilter: public QObject
+class PYEVENT_EXPORT PyEvent_EventFilter: public QObject
{
public:
static void Init();
class QObject;
class PyInterp_Watcher;
-//PYINTERP_EXPORT
-class PyInterp_Dispatcher : protected QThread
+class PYINTERP_EXPORT PyInterp_Dispatcher : protected QThread
{
PyInterp_Dispatcher(); // private constructor
* Events thrown by the interpreter having executed a command and indicating
* the return status.
*/
-//PYINTERP_EXPORT
-class PyInterp_Event : public QEvent
+//
+class PYINTERP_EXPORT PyInterp_Event : public QEvent
{
PyInterp_Event();
PyInterp_Event( const PyInterp_Event& );
#include <list>
#include <string>
-//PYINTERP_EXPORT
-class PyLockWrapper
+class PYINTERP_EXPORT PyLockWrapper
{
PyThreadState* myThreadState;
PyThreadState* mySaveThreadState;
typedef void PyOutChanged(void* data,char * c);
-//PYINTERP_EXPORT
-class PyInterp_Interp
+class PYINTERP_EXPORT PyInterp_Interp
{
public:
static int _argc;
virtual bool initContext() = 0;
};
-//PYINTERP_EXPORT
-class PyObjWrapper
+class PYINTERP_EXPORT PyObjWrapper
{
PyObject* myObject;
public:
class PyInterp_ExecuteEvent;
class PyConsole_Editor;
-// PYINTERP_EXPORT
-class PyInterp_Request
+class PYINTERP_EXPORT PyInterp_Request
{
friend class PyInterp_Dispatcher;
friend class PyInterp_ExecuteEvent;
QObject* myListener;
};
-//PYINTERP_EXPORT
-class PyInterp_LockRequest : public PyInterp_Request
+class PYINTERP_EXPORT PyInterp_LockRequest : public PyInterp_Request
{
public:
#include <QObject>
// Private class that keeps track of destructions of request listeners
-//PYINTERP_EXPORT
-class PyInterp_Watcher : public QObject
+class PYINTERP_EXPORT PyInterp_Watcher : public QObject
{
Q_OBJECT