Salome HOME
Initial version
[modules/gui.git] / src / Qtx / QtxAction.h
1 // File:      QtxAction.hxx
2 // Author:    Sergey TELKOV
3
4 #ifndef QTXACTION_H
5 #define QTXACTION_H
6
7 #include "Qtx.h"
8
9 #include <qaction.h>
10
11 class QTX_EXPORT QtxAction : public QAction
12 {
13     Q_OBJECT
14
15 public:
16     QtxAction( QObject* = 0, const char* = 0, bool = false );
17     QtxAction( const QString&, const QString&, int, QObject*, const char* = 0, bool = false );
18     QtxAction( const QString&, const QIconSet&, const QString&, int, QObject*, const char* = 0, bool = false );
19     virtual ~QtxAction();
20
21     virtual bool addTo( QWidget* );
22     virtual bool addTo( QWidget*, int );
23
24 protected:
25     void         setPopup( QPopupMenu*, const int, QPopupMenu* ) const;
26 };
27
28 #endif