]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/Dialogs2.C
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / Dialogs2.C
index 44a349332bd4bb091f1d91657c842bff8d64f1fe..2b1b1ce0cae453c2ed9b40eb9f830838f37b39b1 100644 (file)
@@ -1,11 +1,13 @@
 /**
- * \file xforms/Dialogs.C
+ * \file qt2/Dialogs2.C
  * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Allan Rae, rae@lyx.org
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Allan Rae
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
@@ -16,6 +18,7 @@
 
 #include "Dialogs_impl.h"
 
+
 void Dialogs::showAboutlyx()
 {
        pimpl_->aboutlyx.controller().show();
@@ -59,7 +62,9 @@ void Dialogs::createCitation(string const & s)
 
 
 void Dialogs::showDocument()
-{}
+{
+       pimpl_->document.controller().show();
+}
 
 
 void Dialogs::showError(InsetError * ie)
@@ -167,12 +172,14 @@ void Dialogs::updateParagraph()
 
 void Dialogs::showPreamble()
 {
-       pimpl_->preamble.controller().show();
+       // FIXME
 }
 
 
 void Dialogs::showPreferences()
-{}
+{
+       pimpl_->prefs.controller().show();
+}
 
 
 void Dialogs::showPrint()
@@ -200,7 +207,9 @@ void Dialogs::showSearch()
 
 
 void Dialogs::showSendto()
-{}
+{
+       pimpl_->sendto.controller().show();
+}
 
 
 void Dialogs::showSpellchecker()
@@ -210,11 +219,15 @@ void Dialogs::showSpellchecker()
 
 
 void Dialogs::showTabular(InsetTabular * it)
-{}
+{
+       pimpl_->tabular.controller().showInset(it);
+}
 
 
 void Dialogs::updateTabular(InsetTabular * it)
-{}
+{
+       pimpl_->tabular.controller().updateInset(it); 
+}
 
 
 void Dialogs::showTabularCreate()
@@ -274,7 +287,7 @@ void Dialogs::showVCLogFile()
 }
 
 
-void Dialogs::showWrap(InsetWrap * i)
+void Dialogs::showWrap(InsetWrap * iw)
 {
-       // FIXME 
-} 
+       pimpl_->wrap.controller().showInset(iw);
+}