X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FInsertTableWidget.cpp;h=036cd1d390868d79b5bd229215608f9a2913b47a;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=de8a31768f3eac996165ced484fd173de6fd2ed9;hpb=8c5f097b5d59cc157b39a08fa5d3f5fa82cf1e4f;p=lyx.git diff --git a/src/frontends/qt4/InsertTableWidget.cpp b/src/frontends/qt4/InsertTableWidget.cpp index de8a31768f..036cd1d390 100644 --- a/src/frontends/qt4/InsertTableWidget.cpp +++ b/src/frontends/qt4/InsertTableWidget.cpp @@ -11,24 +11,25 @@ #include -#include "lyxfunc.h" -#include "FuncStatus.h" -#include "funcrequest.h" -#include "LyXView.h" +#include "InsertTableWidget.h" +#include "GuiView.h" #include "qt_helpers.h" -#include "InsertTableWidget.h" +#include "FuncStatus.h" +#include "FuncRequest.h" +#include "LyXFunc.h" + #include +#include #include #include -#include namespace lyx { namespace frontend { -InsertTableWidget::InsertTableWidget(LyXView & lyxView, QWidget * parent) +InsertTableWidget::InsertTableWidget(GuiView & lyxView, QWidget * parent) : QWidget(parent, Qt::Popup), colwidth_(20), rowheight_(12), lyxView_(lyxView) { init(); @@ -107,7 +108,7 @@ void InsertTableWidget::mouseReleaseEvent(QMouseEvent * /*event*/) { if (underMouse_) { QString const data = QString("%1 %2").arg(bottom_).arg(right_); - lyxView_.dispatch(FuncRequest(LFUN_TABULAR_INSERT, fromqstr(data))); + lyx::dispatch(FuncRequest(LFUN_TABULAR_INSERT, fromqstr(data))); } // emit signal visible(false); @@ -154,4 +155,4 @@ void InsertTableWidget::updateParent() } // namespace frontend } // namespace lyx -#include "InsertTableWidget_moc.cpp" +#include "moc_InsertTableWidget.cpp"