+2000-11-22 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/frontends/kde/Dialogs.C: added signal Dialogs::redrawGUI.
+
+ * src/frontends/kde/FormParagraph.C: added using directive.
+
+ * src/frontends/kde/paradlg.C: added config.h and using directive.
+
+ * src/frontends/kde/paradlg.h: added std::qualifier.
+
+ * src/frontends/kde/Makefile.am: added Color.lo to libkde_la_OBJADD.
+
2000-11-22 Lars Gullik Bjønnes <larsbj@lyx.org>
* configure.in (AC_OUTPUT): don't output src/xtl/Makefile
extern void ShowCredits();
+// Signal enabling all visible popups to be redrawn if so desired.
+// E.g., when the GUI colours have been remapped.
+Signal0<void> Dialogs::redrawGUI;
+
+
Dialogs::Dialogs(LyXView * lv)
{
dialogs_.push_back(new FormCitation(lv, this));
using Liason::setMinibuffer;
#endif
+using std::endl;
+
FormParagraph::FormParagraph(LyXView *v, Dialogs *d)
: dialog_(0), lv_(v), d_(d), h_(0)
{
DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
libkde_la_OBJADD = \
+ ../xforms/ButtonController.lo \
+ ../xforms/Color.lo \
../xforms/FormBase.lo \
../xforms/FormDocument.lo \
../xforms/form_document.lo \
../xforms/form_tabular.lo \
../xforms/FormTabularCreate.lo \
../xforms/form_tabular_create.lo \
- ../xforms/ButtonController.lo \
- ../xforms/xform_helpers.lo \
../xforms/input_validators.lo \
../xforms/RadioButtonGroup.lo \
../xforms/Toolbar_pimpl.lo \
- ../xforms/Menubar_pimpl.lo
+ ../xforms/Menubar_pimpl.lo \
+ ../xforms/xform_helpers.lo
LIBS=
LDFLAGS= $(libkde_la_OBJADD)
* *
***************************************************************************/
-#include "support/lstrings.h"
+#include <config.h>
+#include "support/lstrings.h"
#include "paradlg.h"
-
#include "gettext.h"
#include "debug.h"
+using std::endl;
+
/*
* This is the top-level dialog which contains the buttons, and the tab bar for adding
* the qtarch-designed child widget dialogs.
case 5: return VSpace::VFILL;
case 6: return VSpace::LENGTH;
default:
- lyxerr[Debug::GUI] << "Unknown kind combo entry " << val << endl;
+ lyxerr[Debug::GUI] << "Unknown kind combo entry " << val << std::endl;
}
return VSpace::NONE;
}
{
if (contains(getContents(), db)) {
string bd = db;
- int n = tokenPos(getContents(), ',', bd);
+ int const n = tokenPos(getContents(), ',', bd);
if (n > 0) {
// Weird code, would someone care to explain this?(Lgb)
string tmp(", ");
while (par) {
if (par->bibkey) {
- int wx = par->bibkey->width(bv, font);
+ int const wx = par->bibkey->width(bv, font);
if (wx > w) w = wx;
}
par = par->next;
while (par) {
if (par->bibkey) {
- int wx = par->bibkey->width(bv, font);
+ int const wx = par->bibkey->width(bv, font);
if (wx > w) {
w = wx;
bkey = par->bibkey;