]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/Dialogs.C
small patch from Dekel, begin introducing the real boost framework, get rid of the...
[lyx.git] / src / frontends / gnome / Dialogs.C
index 077143cdf0317779b8dce059c4cd773d00f6e252..778c6f3e3bec2cc62afbe99088074d2e4b1cfd11 100644 (file)
@@ -1,13 +1,46 @@
 #include <config.h>
+#include FORMS_H_LOCATION
+
 #include "Dialogs.h"
+#include "FormCitation.h"
 #include "FormCopyright.h"
+#include "FormDocument.h"
+#include "FormError.h"
+#include "FormGraphics.h"
+#include "FormIndex.h"
+#include "FormParagraph.h"
+#include "FormPreferences.h"
+#include "FormPrint.h"
+#include "FormRef.h"
+#include "FormTabular.h"
+#include "FormToc.h"
+#include "FormUrl.h"
+
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+// temporary till ported
+extern void ShowCredits();
 
 
 Dialogs::Dialogs(LyXView * lv)
 {
+       dialogs_.push_back(new FormCitation(lv, this));
        dialogs_.push_back(new FormCopyright(lv, this));
-       //dialogs_.push_back(new FormPrint(lv, this));
-       //dialogs_.push_back(new FormPreferences(lv, this));
+       dialogs_.push_back(new FormDocument(lv, this));
+       dialogs_.push_back(new FormError(lv, this));
+       dialogs_.push_back(new FormGraphics(lv, this));
+       dialogs_.push_back(new FormIndex(lv, this));
+       dialogs_.push_back(new FormPreferences(lv, this));
+       dialogs_.push_back(new FormParagraph(lv, this));
+       dialogs_.push_back(new FormPrint(lv, this));
+       dialogs_.push_back(new FormRef(lv, this));
+       dialogs_.push_back(new FormTabular(lv, this));
+       dialogs_.push_back(new FormToc(lv, this));
+       dialogs_.push_back(new FormUrl(lv, this));
+
+       showCredits.connect(slot(ShowCredits));
 
        // reduce the number of connections needed in
        // dialogs by a simple connection here.