compile fix for OS X

* 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
This commit is contained in:
Georg Baum 2006-06-06 10:10:11 +00:00
parent 4401521a45
commit 56cd160c39
3 changed files with 6 additions and 3 deletions

View File

@ -278,7 +278,8 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
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") {

View File

@ -35,7 +35,8 @@ using std::string;
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)

View File

@ -23,8 +23,9 @@ class ControlRef;
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;