* src/frontends/qt4/QRef.C: s/ControlRef/lyx::frontend::ControlRef/
* src/frontends/qt4/QRef.h: ditto
* src/frontends/qt4/Dialogs.C:
(Dialogs::build): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14020
a592a061-630c-0410-9148-
cb99ea01b6c8
dialog->setView(new QPrint(*dialog));
dialog->bc().bp(new OkApplyCancelPolicy);
} else if (name == "ref") {
- dialog->setController(new ControlRef(*dialog));
+ // full qualification because qt4 has also a ControlRef type
+ dialog->setController(new lyx::frontend::ControlRef(*dialog));
dialog->setView(new QRef(*dialog));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "sendto") {
namespace lyx {
namespace frontend {
-typedef QController<ControlRef, QView<QRefDialog> > base_class;
+// full qualification because qt4 has also a ControlRef type
+typedef QController<lyx::frontend::ControlRef, QView<QRefDialog> > base_class;
QRef::QRef(Dialog & parent)
class QRefDialog;
+// full qualification because qt4 has also a ControlRef type
class QRef
- : public QController<ControlRef, QView<QRefDialog> >
+ : public QController<lyx::frontend::ControlRef, QView<QRefDialog> >
{
public:
friend class QRefDialog;