Ignore:
Timestamp:
Nov 15, 2007, 11:55:49 AM (17 years ago)
Author:
garnier
Message:

r644@mac-90108: laurentgarnier | 2007-11-13 14:35:50 +0100
modif pour qt3

File:
1 edited

Legend:

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

    r602 r603  
    4343class QLineEdit;
    4444class G4UIsession;
     45#if QT_VERSION < 0x040000
     46class QListView;
     47class QListViewItem;
     48#else
    4549class QListWidget;
     50class QTreeWidget;
     51class QTreeWidgetItem;
     52#endif
    4653class QTextEdit;
    4754class QLabel;
    4855class QDialog;
    49 class QTreeWidgetItem;
    50 class QTreeWidget;
    5156
    5257// Class description :
     
    101106  void SecondaryLoop(G4String); // a VIRER
    102107  void TerminalHelp(G4String);
     108#if QT_VERSION < 0x040000
     109  void CreateChildTree(QListViewItem*,G4UIcommandTree*);
     110  QListViewItem* FindTreeItem(QListViewItem *,const QString&);
     111#else
    103112  void CreateChildTree(QTreeWidgetItem*,G4UIcommandTree*);
    104113  QTreeWidgetItem* FindTreeItem(QTreeWidgetItem *,const QString&);
     114#endif
    105115
    106116  QString GetCommandList(const G4UIcommand*);
     
    121131  QTextEdit *fTextArea;
    122132  QTextEdit *fHelpArea;
     133#if QT_VERSION < 0x040000
     134  QListView *fCommandHistoryArea;
     135  QListView *fHelpTreeWidget;
     136#else
    123137  QListWidget *fCommandHistoryArea;
    124138  QTreeWidget *fHelpTreeWidget;
     139#endif
    125140  QDialog *fHelpDialog;
    126141
Note: See TracChangeset for help on using the changeset viewer.