+template <class Dialog>
+void Qt2DB<Dialog>::update()
+{
+ form()->setUpdatesEnabled(false);
+
+ // protect the BC from unwarranted state transitions
+
+ qApp->processEvents();
+ updating_ = true;
+ update_contents();
+ qApp->processEvents();
+ updating_ = false;
+
+ form()->setUpdatesEnabled(true);
+ form()->update();
+}
+
+
+template <class Dialog>
+void Qt2DB<Dialog>::build()
+{
+ // protect the BC from unwarranted state transitions
+
+ qApp->processEvents();
+ updating_ = true;
+ build_dialog();
+ qApp->processEvents();
+ updating_ = false;
+}
+
+