We don't need anymore this method.

--HG--
branch : develop
This commit is contained in:
dismine 2014-01-23 12:13:26 +02:00
parent 24fc6e474c
commit 495c3c1b4a
2 changed files with 0 additions and 20 deletions

View File

@ -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>
void MainWindow::ClosedDialog(QSharedPointer<Dialog> &dialog, int result)
{

View File

@ -537,16 +537,6 @@ private:
*/
bool ValidatePattern(const QString &schema, const QString &fileName, QString &errorMsg, qint64 &errorLine,
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>
/**
* @brief ClosedDialog