/** This class is an Qt2 GUI base class.
*/
-class Qt2Base : public QObject, public ViewBase
-{
+class Qt2Base : public QObject, public ViewBase {
Q_OBJECT
public:
///
Qt2Base(QString const &);
///
virtual ~Qt2Base() {}
-
protected:
/// build the actual dialog
virtual void build_dialog() = 0;
/// are we updating ?
bool updating_;
-
protected slots:
// dialog closed from WM
void slotWMHide();
// Close button clicked
void slotClose();
-
private:
/// Pointer to the actual instantiation of xform's form
virtual QDialog * form() const = 0;
template <class Dialog>
-class Qt2DB: public Qt2Base
-{
+class Qt2DB: public Qt2Base {
protected:
Qt2DB(QString const &);