]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/InsertTableWidget.cpp
Cleanup private part of Layout Box on destructor (probably not really an
[lyx.git] / src / frontends / qt4 / InsertTableWidget.cpp
index c385d02a8d61dadd70b05b3398682ab63395f68b..32dfe9eb4ed0d635088e64f1014b1dbbed4c6433 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "FuncStatus.h"
 #include "FuncRequest.h"
-#include "LyXFunc.h"
+#include "LyX.h"
 
 #include <QMouseEvent>
 #include <QPainter>
@@ -108,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);
@@ -155,4 +155,4 @@ void InsertTableWidget::updateParent()
 } // namespace frontend
 } // namespace lyx
 
-#include "InsertTableWidget_moc.cpp"
+#include "moc_InsertTableWidget.cpp"