+2004-04-18 John Levon <levon@movementarian.org>
+
+ * QDelimiterDialog.C:
+ * QMathDialog.C: make button callbacks work again
+
+ * README: add a warning
+
2004-04-13 Angus Leeming <leeming@lyx.org>
* ui/QExternalDialogBase.ui:
leftIP->add(QPixmap(toqstr(empty_xpm)), "empty", "empty");
rightIP->add(QPixmap(toqstr(empty_xpm)), "empty", "empty");
- connect(leftIP, SIGNAL(button_clicked(const string &)), this, SLOT(ldelim_clicked(const string &)));
- connect(rightIP, SIGNAL(button_clicked(const string &)), this, SLOT(rdelim_clicked(const string &)));
+ // Leave these std:: qualifications alone !
+ connect(leftIP, SIGNAL(button_clicked(const std::string &)),
+ this, SLOT(ldelim_clicked(const std::string &)));
+ connect(rightIP, SIGNAL(button_clicked(const std::string &)),
+ this, SLOT(rdelim_clicked(const std::string &)));
ldelim_clicked("(");
rdelim_clicked(")");
}
for (int i = 0; *entries[i]; ++i) {
p->add(QPixmap(toqstr(find_xpm(entries[i]))), entries[i], string("\\") + entries[i]);
}
- connect(p, SIGNAL(button_clicked(const string &)), this, SLOT(symbol_clicked(const string &)));
+ // Leave these std:: qualifications alone !
+ connect(p, SIGNAL(button_clicked(const std::string &)),
+ this, SLOT(symbol_clicked(const std::string &)));
return p;
}
*DO NOT USE DESIGNER FROM Qt 3*. You must use a designer from Qt 2 to
maintain compatibility.
+moc is incredibly stupid and sometimes you need a fully qualified
+"std::string" for .connect() statements to work. Be very, very careful.
+
Remember to check tab order on a dialog (third icon, with blue bars in designer).
Remember to check sensible resizing behaviour on a dialog.