#include "Validator.h"
#include "qt_helpers.h"
-#include "support/convert.h"
-
#include <QCloseEvent>
#include <QCheckBox>
#include <QPushButton>
}
-ControlTabular & GuiTabularDialog::controller() const
+ControlTabular & GuiTabularDialog::controller()
{
return static_cast<ControlTabular &>(GuiDialog::controller());
}
}
-void GuiTabularDialog::update_contents()
+void GuiTabularDialog::updateContents()
{
controller().initialiseParams(string());
Tabular::row_type const row = tabular.cellRow(cell);
Tabular::col_type const col = tabular.cellColumn(cell);
- tabularRowED->setText(toqstr(convert<string>(row + 1)));
- tabularColumnED->setText(toqstr(convert<string>(col + 1)));
+ tabularRowED->setText(QString::number(row + 1));
+ tabularColumnED->setText(QString::number(col + 1));
bool const multicol(tabular.isMultiColumn(cell));