We don't need anymore this method.
--HG-- branch : develop
This commit is contained in:
parent
24fc6e474c
commit
495c3c1b4a
|
@ -312,16 +312,6 @@ void MainWindow::SetToolButton(bool checked, Tool::Tools t, const QString &curso
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
void MainWindow::AddToolToDetail(T *tool, const qint64 &id, Tool::Tools typeTool, const qint64 &idDetail)
|
|
||||||
{
|
|
||||||
QHash<qint64, VDataTool*>* tools = doc->getTools();
|
|
||||||
Q_ASSERT(tools != 0);
|
|
||||||
VToolDetail *det = qobject_cast<VToolDetail*>(tools->value(idDetail));
|
|
||||||
Q_ASSERT(det != 0);
|
|
||||||
det->AddTool(tool, id, typeTool);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename DrawTool, typename Dialog>
|
template <typename DrawTool, typename Dialog>
|
||||||
void MainWindow::ClosedDialog(QSharedPointer<Dialog> &dialog, int result)
|
void MainWindow::ClosedDialog(QSharedPointer<Dialog> &dialog, int result)
|
||||||
{
|
{
|
||||||
|
|
|
@ -537,16 +537,6 @@ private:
|
||||||
*/
|
*/
|
||||||
bool ValidatePattern(const QString &schema, const QString &fileName, QString &errorMsg, qint64 &errorLine,
|
bool ValidatePattern(const QString &schema, const QString &fileName, QString &errorMsg, qint64 &errorLine,
|
||||||
qint64 &errorColumn) const;
|
qint64 &errorColumn) const;
|
||||||
template <typename T>
|
|
||||||
/**
|
|
||||||
* @brief AddToolToDetail
|
|
||||||
* @param tool
|
|
||||||
* @param id
|
|
||||||
* @param typeTool
|
|
||||||
* @param idDetail
|
|
||||||
*/
|
|
||||||
void AddToolToDetail(T *tool, const qint64 &id, Tool::Tools typeTool,
|
|
||||||
const qint64 &idDetail);
|
|
||||||
template <typename DrawTool, typename Dialog>
|
template <typename DrawTool, typename Dialog>
|
||||||
/**
|
/**
|
||||||
* @brief ClosedDialog
|
* @brief ClosedDialog
|
||||||
|
|
Loading…
Reference in New Issue
Block a user