]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlDialog.tmpl
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlDialog.tmpl
index 7135ac56f297250ce3d7456b30e330cb236075c2..ac9de2c99ea60e47632da278a05e4547774b3404 100644 (file)
@@ -27,13 +27,13 @@ ControlDialog<Base>::ControlDialog(LyXView & lv, Dialogs & d)
 template <class Base>
 void ControlDialog<Base>::show()
 {
-       if (isBufferDependent() && !bufferIsAvailable())
+       if (this->isBufferDependent() && !this->bufferIsAvailable())
                return;
 
-       connect();
+       this->connect();
 
        if (!dialog_built_) {
-               view().build();
+               this->view().build();
                dialog_built_ = true;
        }
 
@@ -43,17 +43,18 @@ void ControlDialog<Base>::show()
                return;
        }
 
-       bc().readOnly(bufferIsReadonly());
-       view().show();
+       this->bc().readOnly(this->bufferIsReadonly());
+       this->view().show();
 
        // The widgets may not be valid, so refresh the button controller
-       bc().refresh();
+       this->bc().refresh();
 }
 
+
 template <class Base>
 void ControlDialog<Base>::update()
 {
-       if (isBufferDependent() && !bufferIsAvailable())
+       if (this->isBufferDependent() && !this->bufferIsAvailable())
                return;
 
        setParams();
@@ -62,19 +63,20 @@ void ControlDialog<Base>::update()
                return;
        }
 
-       bc().readOnly(bufferIsReadonly());
-       view().update();
+       this->bc().readOnly(this->bufferIsReadonly());
+       this->view().update();
 
        // The widgets may not be valid, so refresh the button controller
-       bc().refresh();
+       this->bc().refresh();
 }
 
+
 template <class Base>
 void ControlDialog<Base>::hide()
 {
        this->emergency_exit_ = false;
        clearParams();
 
-       disconnect();
-       view().hide();
+       this->disconnect();
+       this->view().hide();
 }