|
|
@ -1889,7 +1889,7 @@ TQWidget* Register::cellWidget(int row, int col) const
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
|
|
TQWidget* w = 0;
|
|
|
|
TQWidget* w = 0;
|
|
|
|
TQPair<int, int> idx = tqMakePair(row, col);
|
|
|
|
TQPair<int, int> idx = qMakePair(row, col);
|
|
|
|
TQMap<TQPair<int, int>, TQWidget*>::const_iterator it_w;
|
|
|
|
TQMap<TQPair<int, int>, TQWidget*>::const_iterator it_w;
|
|
|
|
|
|
|
|
|
|
|
|
it_w = m_cellWidgets.find(idx);
|
|
|
|
it_w = m_cellWidgets.find(idx);
|
|
|
@ -1905,7 +1905,7 @@ void Register::insertWidget(int row, int col, TQWidget* w)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQPair<int, int> idx = tqMakePair(row, col);
|
|
|
|
TQPair<int, int> idx = qMakePair(row, col);
|
|
|
|
m_cellWidgets[idx] = w;
|
|
|
|
m_cellWidgets[idx] = w;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1916,7 +1916,7 @@ void Register::clearCellWidget(int row, int col)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQPair<int, int> idx = tqMakePair(row, col);
|
|
|
|
TQPair<int, int> idx = qMakePair(row, col);
|
|
|
|
TQMap<TQPair<int, int>, TQWidget*>::iterator it_w;
|
|
|
|
TQMap<TQPair<int, int>, TQWidget*>::iterator it_w;
|
|
|
|
|
|
|
|
|
|
|
|
it_w = m_cellWidgets.find(idx);
|
|
|
|
it_w = m_cellWidgets.find(idx);
|
|
|
|