Ignore:
Timestamp:
Jun 8, 2007, 4:43:30 PM (17 years ago)
Author:
garnier
Message:

r583@mac-90108: laurentgarnier | 2007-06-07 12:23:33 +0200
ca compile avec les moc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/interfaces/basic/include/G4UIQt.hh

    r489 r490  
    3131#define G4UIQt_h
    3232
    33 //#if defined(G4UI_BUILD_QT_SESSION) || defined(G4UI_USE_QT)
     33#if defined(G4UI_BUILD_QT_SESSION) || defined(G4UI_USE_QT)
    3434
    3535#include <map>
     
    4242#include <QtGui/qtextedit.h>
    4343#include <QObject>
     44
    4445class G4UIsession;
    4546
     
    6465// Class description - end :
    6566
    66 class G4UIQt : public G4VBasicShell, public G4VInteractiveSession {
     67class G4UIQt : public QObject, public G4VBasicShell, public G4VInteractiveSession {
     68  Q_OBJECT
    6769
    6870public: // With description
     
    102104  G4bool fHelp;
    103105  G4int fHelpChoice;
    104   QMainWindow *fMainWindow;
    105   UIQtCentralWidget *fCentralWidget;
    106 };
    107 
    108 class UIQtCentralWidget : public QWidget, public QObject {
    109 
    110 Q_OBJECT
    111 
    112   QLineEdit *promptArea;
     106  QMainWindow * mainWindow;
     107  QLineEdit * promptArea;
    113108  QTextEdit *textArea;
    114 
    115 private slots:
    116   void clearButtonCallback();
     109  //  static void ButtonCallback(Widget,XtPointer,XtPointer);
    117110
    118111};
    119112
    120 //#endif
     113#endif
    121114
    122115#endif
Note: See TracChangeset for help on using the changeset viewer.