]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/Dialogs.C
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / Dialogs.C
index c0c5496f92e16eb43e280316381e3b5d08ac405d..d37054af231cd603f89d225446a70e2bc1e8b505 100644 (file)
@@ -1,27 +1,83 @@
 /**
  * \file qt2/Dialogs.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * Copyright 1995 Matthias Ettrich
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
+ * \author Allan Rae
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#include "Dialogs.h"
-LyXView * dialogs_lyxview;
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include "Dialogs_impl.h"
+
 
-Dialogs::Dialogs(LyXView * lv)
+Dialogs::Dialogs(LyXView & lv)
+       : pimpl_(new Impl(lv, *this))
 {
-       dialogs_lyxview = lv;
        // reduce the number of connections needed in
        // dialogs by a simple connection here.
        hideAll.connect(hideBufferDependent);
 }
 
 
-bool Dialogs::tooltipsEnabled(void)
+Dialogs::~Dialogs()
+{}
+
+
+void Dialogs::toggleTooltips()
+{}
+
+
+/// Are the tooltips on or off?
+bool Dialogs::tooltipsEnabled()
 {
        return false;
 }
+
+
+Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
+       : aboutlyx(lv, d),
+         bibitem(lv, d),
+         bibtex(lv, d),
+         character(lv, d),
+         citation(lv, d),
+         document(lv, d),
+         error(lv, d),
+         ert(lv, d),
+         external(lv, d),
+         file(lv, d),
+         floats(lv, d),
+         graphics(lv, d),
+         include(lv, d),
+         index(lv, d),
+         logfile(lv, d),
+         minipage(lv, d),
+         paragraph(lv, d),
+         preamble(lv, d),
+         prefs(lv, d),
+         print(lv, d),
+         ref(lv, d),
+         search(lv, d),
+         sendto(lv, d),
+         spellchecker(lv, d),
+         tabularcreate(lv, d),
+         tabular(lv, d),
+         texinfo(lv, d),
+
+#ifdef HAVE_LIBAIKSAURUS
+         thesaurus(lv, d),
+#endif
+
+         toc(lv, d),
+         url(lv, d),
+         vclogfile(lv, d),
+         wrap(lv, d)
+{}